[PATCH] D127911: Delete 'llvm.asan.globals' for global metadata.

Mitch Phillips via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 17:13:29 PDT 2022


hctim added a comment.

In D127911#3605774 <https://reviews.llvm.org/D127911#3605774>, @MaskRay wrote:

>> This saves about ~0.275% of the optimised clang binary.
>
> Worth clarifying a bit which -O level and whether -g is used.

`clang-15` binary, no `-g`, `-DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_BUILD_TYPE=Release`:

Before: 1041657808
After: 1024109680

Not sure what led to the original measurement, but seems like this saves ~1.7% of binary size for ASan. I'll update the description.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127911/new/

https://reviews.llvm.org/D127911



More information about the llvm-commits mailing list