File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 45
45
46
46
#ifdef _LIBCPP_VERSION
47
47
#if ISPC_LLVM_VERSION >= ISPC_LLVM_17_0
48
- // Provide own definition of std::__libcpp_verbose_abort to avoid missing
49
- // symbols error in macOS builds.
50
- // See https://libcxx.llvm.org/UsingLibcxx.html#overriding-the-default-termination-handler
51
- // It is not quite clear why and where this symbol is used.
52
- void std::__libcpp_verbose_abort (char const *format, ...) {
48
+ // Provide own definition of std::__libcpp_verbose_abort to avoid missing symbols error on macOS with old
49
+ // system libc++.1.dylib. The symbol is there for macOS 13 Ventura and later, but not macOS 12 and earlier.
50
+ // See #3071 for more details.
51
+ void std::__libcpp_verbose_abort (char const *format, ...)
52
+ #if ISPC_LLVM_VERSION >= ISPC_LLVM_20_0
53
+ noexcept
54
+ #endif
55
+ {
53
56
va_list list;
54
57
va_start (list, format);
55
58
vfprintf (stderr, format, list);
You can’t perform that action at this time.
0 commit comments