[llvm] r221183 - [lit] Forward LD_PRELOAD to tests.
Rafael Espindola
rafael.espindola at gmail.com
Mon Nov 3 13:24:43 PST 2014
Author: rafael
Date: Mon Nov 3 15:24:43 2014
New Revision: 221183
URL: http://llvm.org/viewvc/llvm-project?rev=221183&view=rev
Log:
[lit] Forward LD_PRELOAD to tests.
With this patch I can use asan to test the gold plugin without having
to build gold itself with asan.
Modified:
llvm/trunk/utils/lit/lit/TestingConfig.py
Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=221183&r1=221182&r2=221183&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Mon Nov 3 15:24:43 2014
@@ -24,6 +24,7 @@ class TestingConfig:
'SYSTEMROOT' : os.environ.get('SYSTEMROOT',''),
'TERM' : os.environ.get('TERM',''),
'LLVM_DISABLE_CRASH_REPORT' : '1',
+ 'LD_PRELOAD' : os.environ.get('LD_PRELOAD',''),
}
if sys.platform == 'win32':
More information about the llvm-commits
mailing list