summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/lit_tests/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/asan/lit_tests/lit.cfg')
-rw-r--r--compiler-rt/lib/asan/lit_tests/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/lit_tests/lit.cfg b/compiler-rt/lib/asan/lit_tests/lit.cfg
index 5daecd9e557..d8dac43a4c7 100644
--- a/compiler-rt/lib/asan/lit_tests/lit.cfg
+++ b/compiler-rt/lib/asan/lit_tests/lit.cfg
@@ -77,7 +77,7 @@ if llvm_tools_dir:
# Setup path to symbolizer script.
# FIXME: Instead we should copy this script to the build tree and point
# at it there.
-asan_source_dir = os.path.join(config.test_source_root, "..")
+asan_source_dir = get_required_attr(config, "asan_source_dir")
symbolizer = os.path.join(asan_source_dir,
'scripts', 'asan_symbolize.py')
if not os.path.exists(symbolizer):
OpenPOWER on IntegriCloud