[PATCH] D41199: Updated llvm-objdump to display local relocations in Mach-O binaries
Michael Trent via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 13:29:43 PST 2017
mtrent created this revision.
mtrent added a reviewer: enderby.
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.
All tests are passing for llvm, clang, and lld. llvm-objdump builds without
compiler warnings.
rdar://35778019
https://reviews.llvm.org/D41199
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
test/tools/llvm-objdump/X86/macho-relocations.test
test/tools/llvm-objdump/X86/malformed-machos.test
tools/llvm-objdump/MachODump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41199.126825.patch
Type: text/x-patch
Size: 19531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171213/577af7fe/attachment.bin>
More information about the llvm-commits
mailing list