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

Chaoren Lin chaorenl at google.com
Fri Jul 17 14:37:41 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL242575: Handle altsep ('/' on Windows) in compiler path for log files. (authored by chaoren).

Changed prior to commit:
  http://reviews.llvm.org/D11312?vs=30040&id=30041#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D11312

Files:
  lldb/trunk/test/lldbtest.py

Index: lldb/trunk/test/lldbtest.py
===================================================================
--- lldb/trunk/test/lldbtest.py
+++ lldb/trunk/test/lldbtest.py
@@ -1651,6 +1651,7 @@
 
         if compiler[1] == ':':
             compiler = compiler[2:]
+        compiler = 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.30041.patch
Type: text/x-patch
Size: 467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150717/43195fc6/attachment.bin>


More information about the lldb-commits mailing list