summaryrefslogtreecommitdiff
path: root/chromium/testing/test_env.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/testing/test_env.py')
-rwxr-xr-xchromium/testing/test_env.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/testing/test_env.py b/chromium/testing/test_env.py
index 699134906a2..dc1f231266d 100755
--- a/chromium/testing/test_env.py
+++ b/chromium/testing/test_env.py
@@ -94,6 +94,10 @@ def get_sanitizer_env(cmd, asan, lsan, msan, tsan, cfi_diag):
asan_options = symbolization_options[:]
if lsan:
asan_options.append('detect_leaks=1')
+ # LSan appears to have trouble with later versions of glibc.
+ # See https://github.com/google/sanitizers/issues/1322
+ if 'linux' in sys.platform:
+ asan_options.append('intercept_tls_get_addr=0')
if asan_options:
extra_env['ASAN_OPTIONS'] = ' '.join(asan_options)