This is an archive of the discontinued LLVM Phabricator instance.

Updated llvm-objdump to display local relocations in Mach-O binaries
ClosedPublic

Authored by mtrent on Dec 13 2017, 1:29 PM.

Details

Summary

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

Event Timeline

mtrent created this revision.Dec 13 2017, 1:29 PM
enderby accepted this revision.Dec 13 2017, 1:58 PM

Once again looks good to me. Thanks for working through the build bot issues.

This revision is now accepted and ready to land.Dec 13 2017, 1:58 PM
mtrent closed this revision.Dec 15 2017, 9:58 AM