[PATCH] D132036: [llvm-objdump] Add -dyld_info to llvm-otool

Daniel Bertalan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 13:54:54 PDT 2022


BertalanD updated this revision to Diff 456014.
BertalanD added a comment.
Herald added a reviewer: ributzka.

- Moved code for finding the next fixup into a helper function (`findNextPageWithFixups`).
- Folded `printMachOChainedFixups` into `PrintDyldInfo`.
- Added test to ensure that we can handle objects that don't use chained fixups.
- Minor comment tweaks.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132036/new/

https://reviews.llvm.org/D132036

Files:
  llvm/include/llvm/BinaryFormat/MachO.h
  llvm/include/llvm/Object/MachO.h
  llvm/lib/Object/MachOObjectFile.cpp
  llvm/test/tools/llvm-objdump/MachO/dyld-info.test
  llvm/tools/llvm-objdump/MachODump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132036.456014.patch
Type: text/x-patch
Size: 17164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220826/59cc0209/attachment-0001.bin>


More information about the llvm-commits mailing list