[compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSAN tests on NetBSD
authorMichał Górny <mgorny@gentoo.org>
Tue, 3 Dec 2019 13:44:33 +0000 (14:44 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 6 Dec 2019 07:09:01 +0000 (08:09 +0100)
commit6c2b2b9e20abb27ab5c1ae255c1862785b793c1f
treecb2bdc8d433445c6fb9b76c760e47937e9dc8a16
parent90409f73a5e1418c7623317e5cc3b417bab7c59a
[compiler-rt] [test] Disable ASLR on ASAN/MSAN/TSAN tests on NetBSD

Use a new %run wrapper for ASAN/MSAN/TSAN tests that calls paxctl
in order to disable ASLR on the test executables.  This makes it
possible to test sanitizers on systems where ASLR is enabled by default.

Differential Revision: https://reviews.llvm.org/D70958
compiler-rt/test/asan/lit.cfg.py
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/msan/lit.cfg.py
compiler-rt/test/sanitizer_common/lit.common.cfg.py
compiler-rt/test/sanitizer_common/netbsd_commands/run_noaslr.sh [new file with mode: 0644]
compiler-rt/test/tsan/lit.cfg.py