summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-18 16:51:31 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-18 16:51:31 +0100
commitd372576d8a3baeff180e3a2fada3220215204ed1 (patch)
tree63c0e41ad3d16934a75ea02297fa6d8fdbee02e3
parent6207b060ad80a3bd0369e2b29b73035d64bc65f6 (diff)
downloadbcm5719-llvm-d372576d8a3baeff180e3a2fada3220215204ed1.tar.gz
bcm5719-llvm-d372576d8a3baeff180e3a2fada3220215204ed1.zip
[compiler-rt] [test] Disable ASLR for fuzzer tests on NetBSD
-rw-r--r--compiler-rt/test/fuzzer/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/lit.cfg.py b/compiler-rt/test/fuzzer/lit.cfg.py
index 7066e6a1ef4..35265659c60 100644
--- a/compiler-rt/test/fuzzer/lit.cfg.py
+++ b/compiler-rt/test/fuzzer/lit.cfg.py
@@ -116,3 +116,6 @@ config.substitutions.append(('%env_asan_opts=',
if not config.parallelism_group:
config.parallelism_group = 'shadow-memory'
+
+if config.host_os == 'NetBSD':
+ config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
OpenPOWER on IntegriCloud