diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-11-23 13:21:43 -1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 18:21:43 -0500 |
commit | c4779ea8e709a7bce7288988fabf1ba50e9c9477 (patch) | |
tree | 2ede66030e077f19159ba6c187b461682e36554f /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp | |
parent | 0a9c6bea6b08538e6e910ec13dd83b8f04530835 (diff) | |
download | llvm-c4779ea8e709a7bce7288988fabf1ba50e9c9477.zip llvm-c4779ea8e709a7bce7288988fabf1ba50e9c9477.tar.gz llvm-c4779ea8e709a7bce7288988fabf1ba50e9c9477.tar.bz2 |
[libc++abi] Avoid raw calls to assert() in libc++abi (#71121)
The runtimes now have a principled way of doing assertions in relation
to hardening, so we should use that instead of raw calls to assert()
inside libc++abi. This patch aims to maintain the behavior of the
demangler code when it is used from within LLVM by introducing a simple
DEMANGLE_ASSERT(...) macro that is then defined to the appropriate
assertion mechanism.
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions