aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-06-19 15:56:53 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-06-19 15:56:53 +0000
commit7391366cdf55ca5f5faf97a9ac2b01da47e2749c (patch)
tree8f84e887f0a047ddc7c0d6044bb21f18554b15f1 /tools
parent4d07abbb01b7bfc8e6e24ce07f2487803df50ea3 (diff)
downloadexternal_llvm-7391366cdf55ca5f5faf97a9ac2b01da47e2749c.zip
external_llvm-7391366cdf55ca5f5faf97a9ac2b01da47e2749c.tar.gz
external_llvm-7391366cdf55ca5f5faf97a9ac2b01da47e2749c.tar.bz2
Attempt at fixing some bots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-ar/llvm-ar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp
index 68f51ce..9dacbde 100644
--- a/tools/llvm-ar/llvm-ar.cpp
+++ b/tools/llvm-ar/llvm-ar.cpp
@@ -430,7 +430,7 @@ doExtract(std::string* ErrMsg) {
// 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());