Attempt at fixing some bots.
llvm-svn: 184316
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp
index 68f51ce..9dacbde 100644
--- a/llvm/tools/llvm-ar/llvm-ar.cpp
+++ b/llvm/tools/llvm-ar/llvm-ar.cpp
@@ -430,7 +430,7 @@
// Open up a file stream for writing
std::ios::openmode io_mode = std::ios::out | std::ios::trunc |
std::ios::binary;
- std::ofstream file(I->getPath(), io_mode);
+ std::ofstream file(I->getPath().str(), io_mode);
// Get the data and its length
const char* data = reinterpret_cast<const char*>(I->getData());