[PATCH] D105258: [llvm-readobj][MachO] Support option --unwind for __eh_frame

Greg McGary via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 30 20:00:28 PDT 2021


gkm created this revision.
gkm added a reviewer: lld-macho.
Herald added a subscriber: rupprecht.
Herald added a reviewer: jhenderson.
gkm requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

LLD will soon prune redundant `__eh_frame` entries. In order to debug this in LLD, we need the capacity to dump the `__eh_frame` section.

The dumper code is adapted from `llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h`:`PrinterContext<ELFT>::printEHFrame()`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105258

Files:
  llvm/test/tools/llvm-readobj/MachO/eh_frame.yaml
  llvm/tools/llvm-readobj/MachODumper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105258.355755.patch
Type: text/x-patch
Size: 9546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210701/413d9273/attachment.bin>


More information about the llvm-commits mailing list