]> granicus.if.org Git - llvm/commitdiff
Always use / as the path separator.
authorRafael Espindola <rafael.espindola@gmail.com>
Sun, 4 Dec 2016 07:27:02 +0000 (07:27 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sun, 4 Dec 2016 07:27:02 +0000 (07:27 +0000)
It is not clear if it is worth the complexity to use \ on
windows. This should fix the bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288616 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-ar/llvm-ar.cpp

index 26f8d5be0a2b7c0d1ef64471db86299da623d27e..b99a396da62ac7451280cb5c0d91d141a6569b0e 100644 (file)
@@ -362,7 +362,7 @@ static void doDisplayTable(StringRef Name, const object::Archive::Child &C) {
 
   if (C.getParent()->isThin()) {
     outs() << sys::path::parent_path(ArchiveName);
-    outs() << sys::path::get_separator();
+    outs() << '/';
   }
   outs() << Name << "\n";
 }