summaryrefslogtreecommitdiff
path: root/libcxxabi
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2025-07-15 12:43:37 +0200
committerGitHub <noreply@github.com>2025-07-15 12:43:37 +0200
commit339a1f2e8f5c8f6a55e3f801e55c659bd526956c (patch)
treee9c4f6c863b834a8d02e6030ff0fc7dfd4671985 /libcxxabi
parentadb6efeac92ba13d65ecacc12f8f84e83a2286d0 (diff)
Revert "[libc++][hardening] Introduce assertion semantics" (#148822)
Reverts llvm/llvm-project#148268 It looks like this was based on #148266, which I reverted in #148787.
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/src/demangle/DemangleConfig.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libcxxabi/src/demangle/DemangleConfig.h b/libcxxabi/src/demangle/DemangleConfig.h
index 7904e9d1eb13..06fd223f5553 100644
--- a/libcxxabi/src/demangle/DemangleConfig.h
+++ b/libcxxabi/src/demangle/DemangleConfig.h
@@ -19,14 +19,6 @@
#include "../abort_message.h"
#endif
-#ifndef _LIBCPP_LOG_HARDENING_FAILURE
-// Libc++abi does not have any functionality to log and continue, so we drop
-// error messages when we build the demangler with `observe` assertion semantic.
-// Once the layering with libc++ is improved, this could use the libc++
-// functionality to log hardening failures.
-#define _LIBCPP_LOG_HARDENING_FAILURE(message) ((void)0)
-#endif
-
#include <version>
#ifdef _MSC_VER