Similar to D113702, but for the LSDAs. Clang seems to emit all LSDA
relocs as section relocs, but ld -r can turn those relocs into symbol
ones.
Details
Details
- Reviewers
gkm oontvoo - Group Reviewers
Restricted Project - Commits
- rG9d0b237c516f: [lld-macho] Fix symbol relocs handling for LSDAs
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG Thanks!!!
lld/MachO/UnwindInfoSection.cpp | ||
---|---|---|
442–443 | Thank you!!! was wondering why our build was crashing at this line today. assert.h assertion failed at llvm/include/llvm/ADT/PointerUnion.h:159 in T llvm::PointerUnion<lld::macho::Symbol *, lld::macho::InputSection *>::get() const [PTs = <lld::macho::Symbol *, lld::macho::InputSection *>, T = lld::macho::InputSection *]: is<T>() && "Invalid accessor called" | |
lld/test/MachO/compact-unwind-sym-relocs.s | ||
246–250 ↗ | (On Diff #386684) | dont need these? |
Thank you!!! was wondering why our build was crashing at this line today.