aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2023-08-24 21:28:32 +0000
committerLeonard Chan <leonardchan@google.com>2023-08-29 19:08:16 +0000
commit34e2f4f2e28a464b127d878979efbc87bc148db5 (patch)
tree758a9c4e245debd3d7b42f9a63c996e851f3dd7e /clang/unittests/Interpreter/InterpreterTest.cpp
parentb6bd9d275f783f8150c8a04145ef2a31edb4fddf (diff)
downloadllvm-34e2f4f2e28a464b127d878979efbc87bc148db5.zip
llvm-34e2f4f2e28a464b127d878979efbc87bc148db5.tar.gz
llvm-34e2f4f2e28a464b127d878979efbc87bc148db5.tar.bz2
[sanitizer] Do not mmap FlagParser::flags_
Instead, make it a static array that's part of the FlagParser. The advantage this has is helping reduce fragmentation from needing to anonymously mmap this array via the LowLevelAllocator. This will instead place the array on the stack. Functionally, the only difference is that the array will not be zero-initialized, but all used elements are explicitly initialized via the flag handlers. Differential Revision: https://reviews.llvm.org/D158780
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions