[Lldb-commits] [PATCH] D11312: Handle altsep ('/' on Windows) in compiler path for log files.

Chaoren Lin chaorenl at google.com
Fri Jul 17 14:20:32 PDT 2015


chaoren created this revision.
chaoren added a reviewer: chying.
chaoren added a subscriber: lldb-commits.

http://reviews.llvm.org/D11312

Files:
  test/lldbtest.py

Index: test/lldbtest.py
===================================================================
--- test/lldbtest.py
+++ test/lldbtest.py
@@ -1651,6 +1651,7 @@
 
         if compiler[1] == ':':
             compiler = compiler[2:]
+        compiler.replace(os.path.altsep, os.path.sep)
 
         fname = "{}-{}-{}".format(self.id(), self.getArchitecture(), "_".join(compiler.split(os.path.sep)))
         if len(fname) > 200:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11312.30037.patch
Type: text/x-patch
Size: 423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150717/08bf7df9/attachment.bin>


More information about the lldb-commits mailing list