The <internal> symbol was tripping an assertion in getVA() because it was not marked as used. Per the comment above that symbols creation, dead stripping has already occurred so marking this symbol as used is accurate.
Details
Details
- Reviewers
thakis int3 oontvoo MaskRay - Group Reviewers
Restricted Project - Commits
- rG190b0f42cf55: [lld-macho] Stop crash when emitting personalities with -dead_strip
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This is intended to address https://github.com/llvm/llvm-project/issues/55565
@abrachet can you add that issue to the summary?
lld/test/MachO/personality-dead-strip.s | ||
---|---|---|
5 ↗ | (On Diff #430977) | I've just used an existing test, which is easier. |
lld/test/MachO/weak-definition-gc.s | ||
---|---|---|
76 | off-by-1 I think |
off-by-1 I think