[PATCH] D43728: [WebAssembly] Do not remove existing output file.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 16:36:54 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD326281: [WebAssembly] Do not remove existing output file. (authored by ruiu, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D43728?vs=135785&id=136186#toc
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D43728
Files:
wasm/Writer.cpp
Index: wasm/Writer.cpp
===================================================================
--- wasm/Writer.cpp
+++ wasm/Writer.cpp
@@ -964,7 +964,6 @@
// Open a result file.
void Writer::openFile() {
log("writing: " + Config->OutputFile);
- ::remove(Config->OutputFile.str().c_str());
Expected<std::unique_ptr<FileOutputBuffer>> BufferOrErr =
FileOutputBuffer::create(Config->OutputFile, FileSize,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43728.136186.patch
Type: text/x-patch
Size: 416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180228/70a58b5c/attachment.bin>
More information about the llvm-commits
mailing list