[compiler-rt] [test] Disable ASLR on UBSAN+[AMT]SAN tests on NetBSD

This commit is contained in:
Michał Górny 2019-12-18 17:20:40 +01:00
parent 9102a59084
commit d3d1ca14ce
1 changed files with 2 additions and 0 deletions

View File

@ -78,3 +78,5 @@ config.excludes = ['Inputs']
if ubsan_lit_test_mode in ['AddressSanitizer', 'MemorySanitizer', 'ThreadSanitizer']: if ubsan_lit_test_mode in ['AddressSanitizer', 'MemorySanitizer', 'ThreadSanitizer']:
if not config.parallelism_group: if not config.parallelism_group:
config.parallelism_group = 'shadow-memory' config.parallelism_group = 'shadow-memory'
if config.host_os == 'NetBSD':
config.substitutions.insert(0, ('%run', config.netbsd_noaslr_prefix))