[PATCH] D131890: [llvm-objdump] Start on -chained_fixups for llvm-otool

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 06:53:10 PDT 2022


thakis created this revision.
thakis added a reviewer: BertalanD.
Herald added a subscriber: rupprecht.
Herald added a reviewer: jhenderson.
Herald added a reviewer: MaskRay.
Herald added a project: All.
thakis requested review of this revision.
Herald added a subscriber: StephenFan.
Herald added a project: LLVM.

And --chained-fixups for llvm-objdump.

For now, this only prints the dyld_chained_fixups_header and adds
plumbing for the flag. This will be expanded in future commits.

When Apple's effort to upstream their chained fixups code continues,
we'll replace this code with the then-upstreamed code. But we need
something in the meantime for testing ld64.lld's chained fixups
code.


https://reviews.llvm.org/D131890

Files:
  llvm/include/llvm/BinaryFormat/MachO.h
  llvm/test/tools/llvm-objdump/MachO/chained-fixups.yaml
  llvm/tools/llvm-objdump/MachODump.cpp
  llvm/tools/llvm-objdump/MachODump.h
  llvm/tools/llvm-objdump/ObjdumpOpts.td
  llvm/tools/llvm-objdump/OtoolOpts.td
  llvm/tools/llvm-objdump/llvm-objdump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131890.452654.patch
Type: text/x-patch
Size: 8914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220815/93261d48/attachment.bin>


More information about the llvm-commits mailing list