summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2018-11-26 17:39:20 +0000
committerDavide Italiano <davide@freebsd.org>2018-11-26 17:39:20 +0000
commitff81ffd22807103dbfe4b877664de6fada3ca511 (patch)
treed87260f71ad8e633a05fd264c27c146c3d6173ce
parent8bc4e9403f5440251cc6ac0e37a089243f730e66 (diff)
downloadbcm5719-llvm-ff81ffd22807103dbfe4b877664de6fada3ca511.tar.gz
bcm5719-llvm-ff81ffd22807103dbfe4b877664de6fada3ca511.zip
[lit] Fully qualify lit_config to avoid runtime crashes.
llvm-svn: 347579
-rw-r--r--lldb/lit/helper/toolchain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/helper/toolchain.py b/lldb/lit/helper/toolchain.py
index c0ea7eda1df..a5a7992cab2 100644
--- a/lldb/lit/helper/toolchain.py
+++ b/lldb/lit/helper/toolchain.py
@@ -76,7 +76,7 @@ def use_support_substitutions(config):
res = -1
if res == 0 and out:
sdk_path = lit.util.to_string(out)
- lit_config.note('using SDKROOT: %r' % sdk_path)
+ llvm_config.lit_config.note('using SDKROOT: %r' % sdk_path)
flags = ['-isysroot', sdk_path]
elif platform.system() in ['OpenBSD', 'Linux']:
flags = ['-pthread']
OpenPOWER on IntegriCloud