diff options
Diffstat (limited to 'lld/COFF/LTO.cpp')
-rw-r--r-- | lld/COFF/LTO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/LTO.cpp b/lld/COFF/LTO.cpp index eb3c60d6607..8e502d0cc9f 100644 --- a/lld/COFF/LTO.cpp +++ b/lld/COFF/LTO.cpp @@ -46,7 +46,7 @@ using namespace lld::coff; static std::unique_ptr<raw_fd_ostream> openFile(StringRef file) { std::error_code ec; auto ret = - llvm::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::F_None); + llvm::make_unique<raw_fd_ostream>(file, ec, sys::fs::OpenFlags::OF_None); if (ec) { error("cannot open " + file + ": " + ec.message()); return nullptr; |