[PATCH] D40867: Updated llvm-objdump to display local relocations in Mach-O binaries

Michael via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 15:34:14 PST 2017


mtrent created this revision.

llvm-objdump's Mach-O parser was updated in r306037 to display external
relocations for MH_KEXT_BUNDLE file types. This change extends the Macho-O
parser to display local relocations for MH_PRELOAD files. When used with
the -macho option relocations will be displayed in a historical format.

rdar://35778019


https://reviews.llvm.org/D40867

Files:
  include/llvm/Object/MachO.h
  lib/Object/MachOObjectFile.cpp
  test/tools/llvm-objdump/X86/Inputs/macho-preload-x86_64
  test/tools/llvm-objdump/X86/macho-preload-relocations.test
  tools/llvm-objdump/MachODump.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40867.125638.patch
Type: text/x-patch
Size: 17533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171205/d1c1efd8/attachment.bin>


More information about the llvm-commits mailing list