Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiler-rt/test/sanitizer_common/lit.common.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ if config.host_os == 'Darwin':
# On Darwin, we default to `abort_on_error=1`, which would make tests run
# much slower. Let's override this and run lit tests with 'abort_on_error=0'.
default_tool_options += ['abort_on_error=0']
default_tool_options += ['ignore_interceptors_accesses=0']
elif config.android:
# The same as on Darwin, we default to "abort_on_error=1" which slows down
# testing. Also, all existing tests are using "not" instead of "not --crash"
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/test/tsan/Unit/lit.site.cfg.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ if config.host_os == 'Darwin':
config.environment['TSAN_OPTIONS'] += ':ignore_noninstrumented_modules=0'
else:
config.environment['TSAN_OPTIONS'] = 'ignore_noninstrumented_modules=0'
config.environment['TSAN_OPTIONS'] += ':ignore_interceptors_accesses=0'
1 change: 1 addition & 0 deletions compiler-rt/test/tsan/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ if config.host_os == 'Darwin':
# suppresses some races the tests are supposed to find. Let's run without this
# setting, but turn it back on for Darwin tests (see Darwin/lit.local.cfg).
default_tsan_opts += ':ignore_noninstrumented_modules=0'
default_tsan_opts += ':ignore_interceptors_accesses=0'

# Platform-specific default TSAN_OPTIONS for lit tests.
if default_tsan_opts:
Expand Down