diff options
author | Thurston Dang <thurston@google.com> | 2024-03-15 09:49:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-15 09:49:00 -0700 |
commit | 58f7251820b14c93168726a24816d8a094599be5 (patch) | |
tree | 1b51372193aade592004497c6721fc4931229a28 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9ecc72f39918d157a46ff1ea816a8756a9bbf75b (diff) | |
download | llvm-58f7251820b14c93168726a24816d8a094599be5.zip llvm-58f7251820b14c93168726a24816d8a094599be5.tar.gz llvm-58f7251820b14c93168726a24816d8a094599be5.tar.bz2 |
[msan] Re-exec with no ASLR if memory layout is incompatible on Linux (#85142)
This ports the change from TSan
(https://github.com/llvm/llvm-project/commit/0784b1eefa36d4acbb0dacd2d18796e26313b6c5).
Testing notes: run 'sudo sysctl vm.mmap_rnd_bits=32; ninja check-msan'
before and after this patch.
N.B. aggressive ASLR may also cause the app to overlap with the
allocator region; for MSan, this was fixed in
https://github.com/llvm/llvm-project/commit/af2bf86a372cacf5f536bae06e2f2d3886eefb7b
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions