From: Davide Italiano Date: Mon, 26 Nov 2018 17:39:20 +0000 (+0000) Subject: [lit] Fully qualify lit_config to avoid runtime crashes. X-Git-Tag: llvmorg-8.0.0-rc1~3594 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff81ffd22807103dbfe4b877664de6fada3ca511;p=platform%2Fupstream%2Fllvm.git [lit] Fully qualify lit_config to avoid runtime crashes. llvm-svn: 347579 --- diff --git a/lldb/lit/helper/toolchain.py b/lldb/lit/helper/toolchain.py index c0ea7ed..a5a7992 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']