This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] Accept (and ignore) --wide (-W) command-line switch
ClosedPublic

Authored by mcgrathr on Jun 3 2017, 4:19 PM.

Details

Summary

Accept and ignore --wide/-W. In GNU readelf this switch is
necessary to get the output format that's consistent between
32-bit and 64-bit targets. llvm-readobj always produces that
output format.

Diff Detail

Repository
rL LLVM

Event Timeline

davide accepted this revision.Jun 3 2017, 4:28 PM

LGTM independently from what we decide to do with the options in the end.

This revision is now accepted and ready to land.Jun 3 2017, 4:28 PM

I'd appreciate if someone could land this for me. (To land it before its parents will just have some trivial patch conflicts but there is no real interaction between the three changes.)

Thanks,
Roland

mcgrathr updated this revision to Diff 101341.Jun 3 2017, 5:01 PM

One line from this one got dropped into the llvm-readelf patch.

This revision was automatically updated to reflect the committed changes.