[PATCH] D95809: [lld-macho] Emit personalities in compact unwind

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 16:16:27 PST 2021


int3 updated this revision to Diff 321893.
int3 added a comment.

- insert personality pointers into GOT earlier, since they determine whether a GOT is needed
- dedup personality pointers
- Add test for invalid compact unwind that references non-text segments


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95809/new/

https://reviews.llvm.org/D95809

Files:
  lld/MachO/SyntheticSections.cpp
  lld/MachO/UnwindInfoSection.cpp
  lld/MachO/UnwindInfoSection.h
  lld/MachO/Writer.cpp
  lld/test/MachO/compact-unwind-generated.test
  lld/test/MachO/compact-unwind-pie.s
  lld/test/MachO/compact-unwind.s
  lld/test/MachO/compact-unwind.test
  lld/test/MachO/invalid/compact-unwind-bad-reloc.s
  lld/test/MachO/invalid/compact-unwind-personalities.s
  lld/test/MachO/tools/validate-unwind-info.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95809.321893.patch
Type: text/x-patch
Size: 16589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210206/f7ce91ee/attachment.bin>


More information about the llvm-commits mailing list