From ff81ffd22807103dbfe4b877664de6fada3ca511 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 26 Nov 2018 17:39:20 +0000 Subject: [PATCH] [lit] Fully qualify lit_config to avoid runtime crashes. llvm-svn: 347579 --- lldb/lit/helper/toolchain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.7.4