summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 15:07:20 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 15:07:20 +0000
commit7dbcdd08c29dfecd0d5b9bd89afd60d8f7e3de29 (patch)
tree82c7d9be1d91d0ecad41ae27a18afd69d152b2c2 /llvm/lib/Transforms
parent7860107c7dbe338508f4433f986769a48b8431a8 (diff)
downloadbcm5719-llvm-7dbcdd08c29dfecd0d5b9bd89afd60d8f7e3de29.tar.gz
bcm5719-llvm-7dbcdd08c29dfecd0d5b9bd89afd60d8f7e3de29.zip
Don't make F_None the default.
This will make it easier to switch the default to being binary files. llvm-svn: 202042
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DebugIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
index 9ad6c472b9b..1100689fb7e 100644
--- a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
@@ -528,7 +528,7 @@ void DebugIR::writeDebugBitcode(const Module *M, int *fd) {
if (!fd) {
std::string Path = getPath();
- Out.reset(new raw_fd_ostream(Path.c_str(), error));
+ Out.reset(new raw_fd_ostream(Path.c_str(), error, sys::fs::F_None));
DEBUG(dbgs() << "WRITING debug bitcode from Module " << M << " to file "
<< Path << "\n");
} else {
OpenPOWER on IntegriCloud