[Lldb-commits] [lldb] r340168 - Fix lit.cfg for python3: can only concatenate str (not "bytes") to str

Stefan Granitz via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 20 05:37:55 PDT 2018


Author: stefan.graenitz
Date: Mon Aug 20 05:37:54 2018
New Revision: 340168

URL: http://llvm.org/viewvc/llvm-project?rev=340168&view=rev
Log:
Fix lit.cfg for python3: can only concatenate str (not "bytes") to str

Modified:
    lldb/trunk/lit/lit.cfg

Modified: lldb/trunk/lit/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.cfg?rev=340168&r1=340167&r2=340168&view=diff
==============================================================================
--- lldb/trunk/lit/lit.cfg (original)
+++ lldb/trunk/lit/lit.cfg Mon Aug 20 05:37:54 2018
@@ -78,7 +78,7 @@ if platform.system() in ['Darwin']:
     except OSError:
         res = -1
     if res == 0 and out:
-        sdk_path = out
+        sdk_path = lit.util.to_string(out)
         lit_config.note('using SDKROOT: %r' % sdk_path)
         config.cc += " -isysroot %s" % sdk_path
         config.cxx += " -isysroot %s" % sdk_path




More information about the lldb-commits mailing list