libcxx: update to LLVM 18
release/18.x branch, commit 78b99c73ee4b96fe9ce0e294d4632326afb2db42 This adds the flag `-D_LIBCPP_HARDENING_MODE` which is determined based on the Zig optimization mode. This commit also fixes libunwind, libcxx, and libcxxabi to properly report sub compilation errors.
This commit is contained in:
10
lib/libcxx/src/functional.cpp
vendored
10
lib/libcxx/src/functional.cpp
vendored
@@ -11,17 +11,11 @@
|
||||
_LIBCPP_BEGIN_NAMESPACE_STD
|
||||
|
||||
#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_KEY_FUNCTION
|
||||
bad_function_call::~bad_function_call() noexcept
|
||||
{
|
||||
}
|
||||
bad_function_call::~bad_function_call() noexcept {}
|
||||
#endif
|
||||
|
||||
#ifdef _LIBCPP_ABI_BAD_FUNCTION_CALL_GOOD_WHAT_MESSAGE
|
||||
const char*
|
||||
bad_function_call::what() const noexcept
|
||||
{
|
||||
return "std::bad_function_call";
|
||||
}
|
||||
const char* bad_function_call::what() const noexcept { return "std::bad_function_call"; }
|
||||
#endif
|
||||
|
||||
_LIBCPP_END_NAMESPACE_STD
|
||||
|
||||
Reference in New Issue
Block a user