[all-commits] [llvm/llvm-project] 54f5a4: [LLD][COFF] Reset outputSections for successive runs
Bas Zalmstra via All-commits
all-commits at lists.llvm.org
Sat Aug 22 13:09:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 54f5a4ea4c859cf7f34f0d4955abc3a2f44bd0dc
https://github.com/llvm/llvm-project/commit/54f5a4ea4c859cf7f34f0d4955abc3a2f44bd0dc
Author: Bas Zalmstra <zalmstra.bas at gmail.com>
Date: 2020-08-22 (Sat, 22 Aug 2020)
Changed paths:
M lld/COFF/Writer.cpp
Log Message:
-----------
[LLD][COFF] Reset outputSections for successive runs
The global variable outputSections in the COFF writer was not
cleared between runs which caused successive calls to lld::coff::link
to generate invalid binaries. These binaries when loaded would result
in "invalid win32 applications" and/or "bad image" errors.
Differential Revision: https://reviews.llvm.org/D86401
More information about the All-commits
mailing list