This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] MachO -- dump LinkerOptions load command
ClosedPublic

Authored by davide on Sep 8 2015, 12:53 PM.

Details

Summary

Example output:

Linker Options {

Size: 32
Count: 2
Strings [
  Value: -framework
  Value: Cocoa
]

}

There were only two tests using this -- so I converted them as part of this commit rather than separately.

Diff Detail

Event Timeline

davide updated this revision to Diff 34242.Sep 8 2015, 12:53 PM
davide retitled this revision from to [llvm-readobj] MachO -- dump LinkerOptions load command.
davide updated this object.
davide added reviewers: rafael, grosbach, echristo.
davide added a subscriber: llvm-commits.
rafael accepted this revision.Sep 8 2015, 1:22 PM
rafael edited edge metadata.

LGTM with a nit.

tools/llvm-readobj/MachODumper.cpp
802

Count is redundant with the dump of each entry.

This revision is now accepted and ready to land.Sep 8 2015, 1:22 PM
This revision was automatically updated to reflect the committed changes.