aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/StringRef.cpp
diff options
context:
space:
mode:
authorPiJoules <6019989+PiJoules@users.noreply.github.com>2024-01-11 15:30:23 -0800
committerGitHub <noreply@github.com>2024-01-11 15:30:23 -0800
commit93b47053c6bce5862ba4a5f7d9f6d5cbaa8cbf41 (patch)
tree84f35116d431392fe67c5fa27104b9272786c335 /llvm/lib/Support/StringRef.cpp
parent721dd3bc2f159f58542653b56ae272f1504875f8 (diff)
downloadllvm-93b47053c6bce5862ba4a5f7d9f6d5cbaa8cbf41.zip
llvm-93b47053c6bce5862ba4a5f7d9f6d5cbaa8cbf41.tar.gz
llvm-93b47053c6bce5862ba4a5f7d9f6d5cbaa8cbf41.tar.bz2
[compiler-rt][fuchsia] Preallocate a vmar for sanitizer internals (#75256)
In an effort to reduce more mmap fragmentation, allocate a large enough vmar where we can map sanitizer internals via DoAnonymousMmap. Objects being mapped here include asan's FakeStack, LowLevelAllocator mappings, the primary allocator's TwoLevelMap, InternalMmapVector, StackStore, and asan's thread internals. The vmar is large enough to hold the total size of these objects seen in a "typical" process lifetime. If the vmar is full, it will fallback to mapping in the root vmar.
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions