[all-commits] [llvm/llvm-project] 1b1ad6: [LLD] [COFF] Fix test to properly test all aspects...
Martin Storsjö via All-commits
all-commits at lists.llvm.org
Mon Jul 27 07:48:55 PDT 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 1b1ad651eacb67385f187eb92a798165deb72c64
https://github.com/llvm/llvm-project/commit/1b1ad651eacb67385f187eb92a798165deb72c64
Author: Martin Storsjö <martin at martin.st>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M lld/test/COFF/associative-comdat-mingw-i386.s
Log Message:
-----------
[LLD] [COFF] Fix test to properly test all aspects of c3b1d730d6. NFC.
Previously, the test could pass with one part of c3b1d730d6 removed.
(cherry picked from commit 8dc820393219c7ee440b4ec86c9a201301943276)
Commit: 9dea95b78082a1d9739a60be8a40d721788e4447
https://github.com/llvm/llvm-project/commit/9dea95b78082a1d9739a60be8a40d721788e4447
Author: Martin Storsjö <martin at martin.st>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M lld/COFF/InputFiles.cpp
M lld/test/COFF/associative-comdat-mingw-i386.s
A lld/test/COFF/associative-comdat-mingw-weak.s
Log Message:
-----------
[LLD] [COFF] Fix mingw comdat associativity for leader symbols with a different name
For a weak symbol func in a comdat, the actual leader symbol ends up
named like .weak.func.default*. Likewise, for stdcall on i386, the symbol
may be named _func at 4, while the section suffix only is "func", which the
previous implementation didn't handle.
This fixes unwinding through weak functions when using
-ffunction-sections in mingw environments.
Differential Revision: https://reviews.llvm.org/D84607
(cherry picked from commit 343ffa70fc4c55f4dc0d717cf8c168865beaa9c4)
Compare: https://github.com/llvm/llvm-project/compare/97edd8fdf061...9dea95b78082
More information about the All-commits
mailing list