[PATCH] D123277: [lld-macho][nfc] De-templatize UnwindInfoSection

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 20:55:59 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.

Follow-on to D123276: [lld-macho] Use fewer indirections in UnwindInfo implementation <https://reviews.llvm.org/D123276>. Now that we work with an internal
representation of compact unwind entries, we no longer need to template
our UnwindInfoSectionImpl code based on the pointer size of the target
architecture.

I've still kept the split between `UnwindInfoSectionImpl` and
`UnwindInfoSection`. I'd introduced that split in order to do type
erasure, but I think it's still useful to have in order to keep
`UnwindInfoSection`'s definition in the header file clean.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123277

Files:
  lld/MachO/UnwindInfoSection.cpp
  lld/MachO/UnwindInfoSection.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123277.421082.patch
Type: text/x-patch
Size: 8593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220407/b0cd4a9b/attachment.bin>


More information about the llvm-commits mailing list