[PATCH] D130208: [lld-macho] Fix assertion when two symbols at same addr have unwind info
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 20 15:36:30 PDT 2022
int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added projects: lld-macho, All.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
If there are multiple symbols at the same address, our unwind info
implementation assumes that we always register unwind entries to a
single canonical symbol.
This assumption was violated by the `registerEhFrame` code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130208
Files:
lld/MachO/InputFiles.cpp
lld/MachO/UnwindInfoSection.cpp
lld/test/MachO/Inputs/double-unwind-info.yaml
lld/test/MachO/double-unwind-info.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130208.446284.patch
Type: text/x-patch
Size: 7326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220720/dec95b2e/attachment.bin>
More information about the llvm-commits
mailing list