[all-commits] [llvm/llvm-project] 2a6669: [lld-macho][nfc] De-templatize UnwindInfoSection

Jez Ng via All-commits all-commits at lists.llvm.org
Wed Apr 13 13:19:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a6669060f3533d144b12d1ec0faafe2de537994
      https://github.com/llvm/llvm-project/commit/2a6669060f3533d144b12d1ec0faafe2de537994
  Author: Jez Ng <jezng at fb.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    M lld/MachO/UnwindInfoSection.cpp
    M lld/MachO/UnwindInfoSection.h

  Log Message:
  -----------
  [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




More information about the All-commits mailing list