summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-12-23 18:39:02 +0000
committerDan Albert <danalbert@google.com>2015-01-08 14:44:29 -0800
commitfa235b7f14a68d678f8fe777ad741ad6b80915b4 (patch)
treeb4e3b95962d0a665c722a7db5c78d7e27e8fe322 /utils
parent943bdc2fd8f42882b239922a2feeabe5e5f9c83b (diff)
downloadexternal_llvm-fa235b7f14a68d678f8fe777ad741ad6b80915b4.zip
external_llvm-fa235b7f14a68d678f8fe777ad741ad6b80915b4.tar.gz
external_llvm-fa235b7f14a68d678f8fe777ad741ad6b80915b4.tar.bz2
Pass LSAN_OPTIONS down so that it is possible to add suppressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224777 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 50c8c5686ec5fbae19d8ec72d46b228feb960862)
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/TestingConfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py
index 4cd9486..52cebbf 100644
--- a/utils/lit/lit/TestingConfig.py
+++ b/utils/lit/lit/TestingConfig.py
@@ -23,7 +23,8 @@ class TestingConfig:
}
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
- 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS']
+ 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
+ 'LSAN_OPTIONS']
for var in pass_vars:
environment[var] = os.environ.get(var, '')