aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2021-02-10 10:17:18 -0800
committerKostya Kortchinsky <kostyak@google.com>2021-02-25 12:14:38 -0800
commit2c56776a319edf33505ca6c7f9be59657cdaf52b (patch)
tree17dc89dec8676d81de5c63d75406cf7858858487 /clang/lib/Frontend/CompilerInvocation.cpp
parentec4408ad692b20a01cca8b5d86f359f6f16bae87 (diff)
downloadllvm-2c56776a319edf33505ca6c7f9be59657cdaf52b.zip
llvm-2c56776a319edf33505ca6c7f9be59657cdaf52b.tar.gz
llvm-2c56776a319edf33505ca6c7f9be59657cdaf52b.tar.bz2
[scudo][standalone] Compact pointers for Caches/Batches
This CL introduces configuration options to allow pointers to be compacted in the thread-specific caches and transfer batches. This offers the possibility to have them use 32-bit of space instead of 64-bit for the 64-bit Primary, thus cutting the size of the caches and batches by nearly half (and as such the memory used in size class 0). The cost is an additional read from the region information in the fast path. This is not a new idea, as it's being used in the sanitizer_common 64-bit primary. The difference here is that it is configurable via the allocator config, with the possibility of not compacting at all. This CL enables compacting pointers in the Android and Fuchsia default configurations. Differential Revision: https://reviews.llvm.org/D96435
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions