summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocPBQP.cpp
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
commit843efd49b700018b515f66e585012e770feafd55 (patch)
tree63fbb3820fdbe73e57a82245d1a233fc784e39f6 /lib/CodeGen/RegAllocPBQP.cpp
parent281d7fc2d92545b8428a5aa0e59238d445fb8199 (diff)
downloadllvm-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/CodeGen/RegAllocPBQP.cpp')
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp
index 483f2e1ae8..56fdb45f4e 100644
--- a/lib/CodeGen/RegAllocPBQP.cpp
+++ b/lib/CodeGen/RegAllocPBQP.cpp
@@ -595,7 +595,7 @@ bool RegAllocPBQP::runOnMachineFunction(MachineFunction &MF) {
rs << round;
std::string graphFileName(fqn + "." + rs.str() + ".pbqpgraph");
std::string tmp;
- raw_fd_ostream os(graphFileName.c_str(), tmp);
+ raw_fd_ostream os(graphFileName.c_str(), tmp, sys::fs::F_None);
DEBUG(dbgs() << "Dumping graph for round " << round << " to \""
<< graphFileName << "\"\n");
problem->getGraph().dump(os);