diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-29 14:49:28 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-29 16:09:03 -0300 |
commit | f93c2b64ed381bc4bc52f4b8539026f1597f574d (patch) | |
tree | eda07fe450dcd285251dd4f506328dea487e26c6 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 771f0fb92dc2746abd4db41d459d04bb578118a1 (diff) | |
download | llvm-f93c2b64ed381bc4bc52f4b8539026f1597f574d.zip llvm-f93c2b64ed381bc4bc52f4b8539026f1597f574d.tar.gz llvm-f93c2b64ed381bc4bc52f4b8539026f1597f574d.tar.bz2 |
[sanitizer] Disable ASLR for release_shadow_space
On aarch64 with kernel 4.12.13 the test sporadically fails with
RSS at start: 1564, after mmap: 103964, after mmap+set label: 308768, \
after fixed map: 206368, after another mmap+set label: 308768, after \
munmap: 206368
release_shadow_space.c.tmp: [...]/release_shadow_space.c:80: int \
main(int, char **): Assertion `after_fixed_mmap <= before + delta' failed.
It seems on some executions the memory is not fully released, even
after munmap. And it also seems that ASLR is hurting it by adding
some fragmentation, by disabling it I could not reproduce the issue
in multiple runs.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions