X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FUnit%2Flit.cfg;h=15cf626c72bf9f3a8de6311c9a62b9fde38325f6;hb=fc699872e35ec794d7373680be6f1946fe8e9ca6;hp=ba4cbc5d79805109d4cbdd530fe7e06aad5a4cbb;hpb=f647052d5f4504edffb8ffa8fe71cb9451997641;p=oota-llvm.git diff --git a/test/Unit/lit.cfg b/test/Unit/lit.cfg index ba4cbc5d798..15cf626c72b 100644 --- a/test/Unit/lit.cfg +++ b/test/Unit/lit.cfg @@ -28,6 +28,11 @@ if 'TMP' in os.environ: if 'TEMP' in os.environ: config.environment['TEMP'] = os.environ['TEMP'] +# Propagate path to symbolizer for ASan/MSan. +for symbolizer in ['ASAN_SYMBOLIZER_PATH', 'MSAN_SYMBOLIZER_PATH']: + if symbolizer in os.environ: + config.environment[symbolizer] = os.environ[symbolizer] + ### # Check that the object root is known.