Skip to content

Commit

Permalink
[CI] Disable __tls_get_addr interception in asan
Browse files Browse the repository at this point in the history
See google/sanitizers#1322. It might be
the cause of the intermittent asan failures on CI.
  • Loading branch information
glandium committed Oct 1, 2021
1 parent 89e6ecb commit 7a9c28f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CI/decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ def __init__(self, **kwargs):
'export GIT_CINNABAR_COVERAGE=1',
'export COVERAGE_FILE=$PWD/repo/.coverage',
] + command
if variant == 'asan':
kwargs.setdefault('env', {})['ASAN_OPTIONS'] = \
'intercept_tls_get_addr=0'

if 'command' in kwargs:
kwargs['command'] = command + kwargs['command']
Expand Down

0 comments on commit 7a9c28f

Please sign in to comment.