The motivation is to reduce the size of libc++.so on Android. The flag
is always used with LIBCXXABI_NON_DEMANGLING_TERMINATE.
Details
Details
- Reviewers
danalbert - Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This change was applied to Android's build of libc++abi here:
https://android-review.git.corp.google.com/c/platform/external/libcxxabi/+/1089752
libcxxabi/CMakeLists.txt | ||
---|---|---|
135 | I think that we should at least emit a warning when this option is enabled. This makes libc++abi non-conforming as __cxa_demangle is part of the ABI definition as per https://itanium-cxx-abi.github.io/cxx-abi/abi.html. |
I think that we should at least emit a warning when this option is enabled. This makes libc++abi non-conforming as __cxa_demangle is part of the ABI definition as per https://itanium-cxx-abi.github.io/cxx-abi/abi.html.