summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-24 15:06:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-24 15:06:34 +0000
commit27810169cbbc9365a720f0bf68bc44a60a7b6466 (patch)
treebac34b0f9946fa9b5334ecb17c5f3b60cae25dba /lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
parent4bf7a268e0fd0fb493e1b05d6e37771ff98758a8 (diff)
downloadbcm5719-llvm-27810169cbbc9365a720f0bf68bc44a60a7b6466.tar.gz
bcm5719-llvm-27810169cbbc9365a720f0bf68bc44a60a7b6466.zip
Don't assume that F_None is the default. It is about to change.
llvm-svn: 202039
Diffstat (limited to 'lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp')
-rw-r--r--lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
index f5cb351e229..55af7b6497e 100644
--- a/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
+++ b/lld/lib/ReaderWriter/YAML/ReaderWriterYAML.cpp
@@ -1193,7 +1193,7 @@ public:
virtual error_code writeFile(const lld::File &file, StringRef outPath) {
// Create stream to path.
std::string errorInfo;
- llvm::raw_fd_ostream out(outPath.data(), errorInfo);
+ llvm::raw_fd_ostream out(outPath.data(), errorInfo, llvm::sys::fs::F_None);
if (!errorInfo.empty())
return llvm::make_error_code(llvm::errc::no_such_file_or_directory);
OpenPOWER on IntegriCloud