[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221183 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-11-03 21:24:43 +00:00
parent dc1d16ae54
commit 6199c0cf17

View File

@ -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':