diff options
author | Petr Hosek <phosek@chromium.org> | 2019-07-13 08:07:10 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-07-13 08:07:10 +0000 |
commit | 20d34eacf3f118d1e94165beaf3da24a5c1e8011 (patch) | |
tree | e39a5b7c1b350710786efe3501653cd7d98a6ac5 /clang/lib/Serialization/ASTReaderStmt.cpp | |
parent | 36fbd0da5fb7ac70146d2118165556d4af19fd8b (diff) | |
download | bcm5719-llvm-20d34eacf3f118d1e94165beaf3da24a5c1e8011.tar.gz bcm5719-llvm-20d34eacf3f118d1e94165beaf3da24a5c1e8011.zip |
[CMake][Fuchsia] Define asan+noexcept multilib
Using noexcept multilib with -fno-exceptions can lead to significant
space savings when statically linking libc++abi because we don't need
all the unwinding and demangling code.
When compiling with ASan, we already get a lot of overhead from the
instrumentation itself, when statically linking libc++abi, that overhead
is even larger.
Having the noexcept variant for ASan can help significantly, we've seen
more than 50% size reduction in our system image, which offsets the cost
of having to build another multilib.
Differential Revision: https://reviews.llvm.org/D64140
llvm-svn: 365994
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
0 files changed, 0 insertions, 0 deletions