From 5068ec893106a1578754323db1692595d02831d1 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 27 Jul 2024 09:39:29 +0800 Subject: [PATCH] libc++: Fix assertion handler --- src/buildtools/third_party/libc++/__assertion_handler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildtools/third_party/libc++/__assertion_handler b/src/buildtools/third_party/libc++/__assertion_handler index 81964f62f7..c35bb1812a 100644 --- a/src/buildtools/third_party/libc++/__assertion_handler +++ b/src/buildtools/third_party/libc++/__assertion_handler @@ -29,7 +29,7 @@ _LIBCPP_NORETURN inline _LIBCPP_HIDE_FROM_ABI void __libcpp_hardening_failure() _LIBCPP_END_NAMESPACE_STD // TODO(hardening): use `__builtin_verbose_trap(message)` once that becomes available. -# define _LIBCPP_ASSERTION_HANDLER(message) ((void)message, __libcpp_hardening_failure()) +# define _LIBCPP_ASSERTION_HANDLER(message) ((void)message, std::__libcpp_hardening_failure()) #else