Skip to content
Permalink
Browse files

[compiler-rt] [test] Disable ASLR on LSAN+ASAN tests on NetBSD

  • Loading branch information
mgorny committed Dec 18, 2019
1 parent 5a956c8 commit 9102a59084fdb613e1ad185b64a0246048138fc9
Showing with 2 additions and 0 deletions.
  1. +2 −0 compiler-rt/test/lsan/lit.common.cfg.py
@@ -28,6 +28,8 @@ def get_required_attr(config, attr_name):
config.name = "LeakSanitizer-AddressSanitizer"
lsan_cflags = ["-fsanitize=address"]
config.available_features.add('asan')
if config.host_os == 'NetBSD':
config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))
else:
lit_config.fatal("Unknown LSan test mode: %r" % lsan_lit_test_mode)
config.name += config.name_suffix

0 comments on commit 9102a59

Please sign in to comment.
You can’t perform that action at this time.