summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/llvm-ar.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-12-04 07:27:02 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-12-04 07:27:02 +0000
commite3161c568d2f0f3aeb8c8c41eb58eb179ef589e8 (patch)
tree086267e51ed188e52af445c12f721e71992ff196 /llvm/tools/llvm-ar/llvm-ar.cpp
parent7e00c8ca4543bc2c8f46d336b8b7c8612afc25f0 (diff)
downloadbcm5719-llvm-e3161c568d2f0f3aeb8c8c41eb58eb179ef589e8.tar.gz
bcm5719-llvm-e3161c568d2f0f3aeb8c8c41eb58eb179ef589e8.zip
Always use / as the path separator.
It is not clear if it is worth the complexity to use \ on windows. This should fix the bots. llvm-svn: 288616
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
-rw-r--r--llvm/tools/llvm-ar/llvm-ar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 26f8d5be0a2..b99a396da62 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -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";
}
OpenPOWER on IntegriCloud