Skip to content

Commit 7a9c28f

Browse files
committed
[CI] Disable __tls_get_addr interception in asan
See google/sanitizers#1322. It might be the cause of the intermittent asan failures on CI.
1 parent 89e6ecb commit 7a9c28f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CI/decision.py

+3
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ def __init__(self, **kwargs):
9797
'export GIT_CINNABAR_COVERAGE=1',
9898
'export COVERAGE_FILE=$PWD/repo/.coverage',
9999
] + command
100+
if variant == 'asan':
101+
kwargs.setdefault('env', {})['ASAN_OPTIONS'] = \
102+
'intercept_tls_get_addr=0'
100103

101104
if 'command' in kwargs:
102105
kwargs['command'] = command + kwargs['command']

0 commit comments

Comments
 (0)