[all-commits] [llvm/llvm-project] b428c3: [lld-macho] Ignore local personality symbols i...
Vy Nguyen via All-commits
all-commits at lists.llvm.org
Fri Sep 17 10:01:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b428c3e8c19293506a55e389f025a9a9572aa03a
https://github.com/llvm/llvm-project/commit/b428c3e8c19293506a55e389f025a9a9572aa03a
Author: Vy Nguyen <vyng at google.com>
Date: 2021-09-17 (Fri, 17 Sep 2021)
Changed paths:
M lld/MachO/UnwindInfoSection.cpp
A lld/test/MachO/compact-unwind-both-local-and-dylib-personality.s
Log Message:
-----------
[lld-macho] Ignore local personality symbols if non-local with the same name exisst, to avoid "too many personalities" error.
Sometimes people intentionally re-define a dylib personlity symbol as a local defined symbol as a workaround to a ld -r bug.
As a result, we could see "too many personalities" to encode. This patch tries to handle this case by ignoring the local symbols entirely.
Differential Revision: https://reviews.llvm.org/D107533
More information about the All-commits
mailing list