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
This commit is contained in:
Rafael Espindola
2014-02-24 15:07:20 +00:00
parent 281d7fc2d9
commit 843efd49b7
11 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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);