[PATCH] D86401: [LLD][COFF] Reset outputSections for successive runs
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 22 13:09:03 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG54f5a4ea4c85: [LLD][COFF] Reset outputSections for successive runs (authored by baszalmstra, committed by mstorsjo).
Changed prior to commit:
https://reviews.llvm.org/D86401?vs=287198&id=287216#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86401/new/
https://reviews.llvm.org/D86401
Files:
lld/COFF/Writer.cpp
Index: lld/COFF/Writer.cpp
===================================================================
--- lld/COFF/Writer.cpp
+++ lld/COFF/Writer.cpp
@@ -601,6 +601,9 @@
void Writer::run() {
ScopedTimer t1(codeLayoutTimer);
+ // First, clear the output sections from previous runs
+ outputSections.clear();
+
createImportTables();
createSections();
createMiscChunks();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86401.287216.patch
Type: text/x-patch
Size: 379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200822/d1018e3e/attachment.bin>
More information about the llvm-commits
mailing list