[PATCH] D28010: FileOutputBuffer: support non-mmap'able file.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 23:27:20 PST 2016
grimar added inline comments.
================
Comment at: llvm/lib/Support/FileOutputBuffer.cpp:159
+ if (fs::is_other(Stat))
+ return std::unique_ptr<FileOutputBuffer>(
+ new FileOutputBuffer(Path, Size, new NonMMappedFile(Path, Size)));
----------------
llvm::make_unique may be ?
https://reviews.llvm.org/D28010
More information about the llvm-commits
mailing list