[lld-macho][nfc] De-templatize UnwindInfoSection
authorJez Ng <jezng@fb.com>
Wed, 13 Apr 2022 20:17:29 +0000 (16:17 -0400)
committerJez Ng <jezng@fb.com>
Wed, 13 Apr 2022 20:19:22 +0000 (16:19 -0400)
commit2a6669060f3533d144b12d1ec0faafe2de537994
tree94eb93626995a934841b73c89d650cbbd669f05d
parent5d4df59de10396f13f9b011b58968c716318362d
[lld-macho][nfc] De-templatize UnwindInfoSection

Follow-on to {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.

Reviewed By: #lld-macho, oontvoo

Differential Revision: https://reviews.llvm.org/D123277
lld/MachO/UnwindInfoSection.cpp
lld/MachO/UnwindInfoSection.h