mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-07 10:54:01 +00:00
[libcxxabi] allow downstreams to override _LIBCPP_VERBOSE_ABORT
@asbirlea reports that Google does this for sanitizer analysis downstream. Looks like a few #defines are added into a header which is then injected into the build. Reviewed By: vitalybuka, ldionne, #libc_abi Differential Revision: https://reviews.llvm.org/D150825
This commit is contained in:
parent
c657363ced
commit
913844f55a
@ -11,11 +11,14 @@
|
||||
#ifndef LIBCXXABI_DEMANGLE_DEMANGLE_CONFIG_H
|
||||
#define LIBCXXABI_DEMANGLE_DEMANGLE_CONFIG_H
|
||||
|
||||
// Must be defined before pulling in headers from libc++.
|
||||
// Must be defined before pulling in headers from libc++. Allow downstream
|
||||
// build systems to override this value.
|
||||
// https://libcxx.llvm.org/UsingLibcxx.html#enabling-the-safe-libc-mode
|
||||
#ifndef _LIBCPP_VERBOSE_ABORT
|
||||
#define _LIBCPP_VERBOSE_ABORT(...) abort_message(__VA_ARGS__)
|
||||
|
||||
#include "../abort_message.h"
|
||||
#endif
|
||||
|
||||
#include <ciso646>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user