summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFGPrinter.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
commit7dbcdd08c29dfecd0d5b9bd89afd60d8f7e3de29 (patch)
tree82c7d9be1d91d0ecad41ae27a18afd69d152b2c2 /llvm/lib/Analysis/CFGPrinter.cpp
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/Analysis/CFGPrinter.cpp')
-rw-r--r--llvm/lib/Analysis/CFGPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/CFGPrinter.cpp b/llvm/lib/Analysis/CFGPrinter.cpp
index 9b6879a42ed..3c67618450c 100644
--- a/llvm/lib/Analysis/CFGPrinter.cpp
+++ b/llvm/lib/Analysis/CFGPrinter.cpp
@@ -80,7 +80,7 @@ namespace {
errs() << "Writing '" << Filename << "'...";
std::string ErrorInfo;
- raw_fd_ostream File(Filename.c_str(), ErrorInfo);
+ raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
if (ErrorInfo.empty())
WriteGraph(File, (const Function*)&F);
@@ -114,7 +114,7 @@ namespace {
errs() << "Writing '" << Filename << "'...";
std::string ErrorInfo;
- raw_fd_ostream File(Filename.c_str(), ErrorInfo);
+ raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_None);
if (ErrorInfo.empty())
WriteGraph(File, (const Function*)&F, true);
OpenPOWER on IntegriCloud