diff options
author | Abseil Team <absl-team@google.com> | 2023-09-26 15:27:07 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-09-26 15:27:47 -0700 |
commit | 6ab667fd8deba75443fdc0d5c5bbf4588431f1b4 (patch) | |
tree | 1e001cba5a64ac395b77fa561333487729683baa /absl/base | |
parent | cced061b3e68da386aaadca0d87e03538ce2bc72 (diff) | |
download | abseil-6ab667fd8deba75443fdc0d5c5bbf4588431f1b4.tar.gz abseil-6ab667fd8deba75443fdc0d5c5bbf4588431f1b4.tar.bz2 abseil-6ab667fd8deba75443fdc0d5c5bbf4588431f1b4.zip |
Add an internal wrapper for `abi::__cxa_demangle()`.
PiperOrigin-RevId: 568665135
Change-Id: I42ec9bc6cfe923777f7b60ea032c7b64428493c9
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/config.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/absl/base/config.h b/absl/base/config.h index 52d42f0f..a8425ba7 100644 --- a/absl/base/config.h +++ b/absl/base/config.h @@ -864,19 +864,6 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' || #define ABSL_INTERNAL_HAS_RTTI 1 #endif -// `ABSL_INTERNAL_HAS_CXA_DEMANGLE` determines whether `abi::__cxa_demangle` is -// available. -#ifdef ABSL_INTERNAL_HAS_CXA_DEMANGLE -#error ABSL_INTERNAL_HAS_CXA_DEMANGLE cannot be directly set -#elif defined(OS_ANDROID) && (defined(__i386__) || defined(__x86_64__)) -#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 0 -#elif (__GNUC__ >= 4 || (__GNUC__ >= 3 && __GNUC_MINOR__ >= 4)) && \ - !defined(__mips__) -#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 1 -#elif defined(__clang__) && !defined(_MSC_VER) -#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 1 -#endif - // ABSL_INTERNAL_HAVE_SSE is used for compile-time detection of SSE support. // See https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html for an overview of // which architectures support the various x86 instruction sets. |