diff options
author | Martin Storsjö <martin@martin.st> | 2020-07-25 12:25:19 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2020-07-27 17:32:08 +0300 |
commit | 343ffa70fc4c55f4dc0d717cf8c168865beaa9c4 (patch) | |
tree | 118b2512235a3d33b88b589de93c644e6c52a953 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp | |
parent | a7044edde71be0a4c70e79c503c39ce6bdd930e5 (diff) | |
download | llvm-343ffa70fc4c55f4dc0d717cf8c168865beaa9c4.zip llvm-343ffa70fc4c55f4dc0d717cf8c168865beaa9c4.tar.gz llvm-343ffa70fc4c55f4dc0d717cf8c168865beaa9c4.tar.bz2 |
[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@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
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions