This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] Dump MachO Dysymtab command
ClosedPublic

Authored by davide on Aug 31 2015, 10:25 AM.

Details

Summary

macho-dump also dumps the indirect symbol table as part of this -- I would like to split if there are no objections.

Example output:

File: <stdin>
Format: Mach-O 64-bit x86-64
Arch: x86_64
AddressSize: 64bit
Dysymtab {

ilocalsym: 0
nlocalsym: 6
iextdefsym: 6
nextdefsym: 2
iundefsym: 8
nundefsym: 0
tocoff: 0
ntoc: 0
modtaboff: 0
nmodtab: 0
extrefsymoff: 0
nextrefsyms: 0
indirectsymoff: 0
nindirectsyms: 0
extreloff: 0
nextrel: 0
locreloff: 0
nlocrel: 0

}

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 33595.Aug 31 2015, 10:25 AM
davide retitled this revision from to [llvm-readobj] Dump MachO Dysymtab command.
davide updated this object.
davide added reviewers: rafael, grosbach, echristo.
davide set the repository for this revision to rL LLVM.
davide added a subscriber: llvm-commits.
rafael accepted this revision.Aug 31 2015, 11:38 AM
rafael edited edge metadata.

LGTM

This revision is now accepted and ready to land.Aug 31 2015, 11:38 AM

Thanks for your review, Rafael.

This revision was automatically updated to reflect the committed changes.