diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-24 15:07:20 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-24 15:07:20 +0000 |
commit | 843efd49b700018b515f66e585012e770feafd55 (patch) | |
tree | 63fbb3820fdbe73e57a82245d1a233fc784e39f6 /lib/Transforms/Instrumentation/DebugIR.cpp | |
parent | 281d7fc2d92545b8428a5aa0e59238d445fb8199 (diff) | |
download | llvm-843efd49b700018b515f66e585012e770feafd55.tar.gz llvm-843efd49b700018b515f66e585012e770feafd55.tar.bz2 llvm-843efd49b700018b515f66e585012e770feafd55.tar.xz |
Don't make F_None the default.
This will make it easier to switch the default to being binary files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/DebugIR.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Instrumentation/DebugIR.cpp b/lib/Transforms/Instrumentation/DebugIR.cpp index 9ad6c472b9..1100689fb7 100644 --- a/lib/Transforms/Instrumentation/DebugIR.cpp +++ b/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 { |