[Lldb-commits] [lldb] r347579 - [lit] Fully qualify lit_config to avoid runtime crashes.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 26 09:39:20 PST 2018


Author: davide
Date: Mon Nov 26 09:39:20 2018
New Revision: 347579

URL: http://llvm.org/viewvc/llvm-project?rev=347579&view=rev
Log:
[lit] Fully qualify lit_config to avoid runtime crashes.

Modified:
    lldb/trunk/lit/helper/toolchain.py

Modified: lldb/trunk/lit/helper/toolchain.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/helper/toolchain.py?rev=347579&r1=347578&r2=347579&view=diff
==============================================================================
--- lldb/trunk/lit/helper/toolchain.py (original)
+++ lldb/trunk/lit/helper/toolchain.py Mon Nov 26 09:39:20 2018
@@ -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']




More information about the lldb-commits mailing list