This is an archive of the discontinued LLVM Phabricator instance.

[llvm-readobj] Install llvm-readelf alias
ClosedPublic

Authored by mcgrathr on Jun 3 2017, 2:42 PM.

Details

Summary

Install an llvm-readelf symlink to llvm-readobj.
When invoked as *readelf*, default to -elf-output-style=GNU.

Diff Detail

Repository
rL LLVM

Event Timeline

mcgrathr created this revision.Jun 3 2017, 2:42 PM
davide added a subscriber: davide.Jun 3 2017, 2:55 PM

I'd split this in several patches.

tools/llvm-readobj/llvm-readobj.cpp
54–57

What about the --wide alias?

mcgrathr updated this revision to Diff 101338.Jun 3 2017, 4:22 PM
mcgrathr retitled this revision from [llvm-readobj] More command-line compatibility with GNU readelf to [llvm-readobj] Install llvm-readelf alias.
mcgrathr edited the summary of this revision. (Show Details)
mcgrathr added a reviewer: davide.

PTAL and land it for me if approved.

mcgrathr updated this revision to Diff 101340.Jun 3 2017, 5:00 PM

One line from the -W patch crept into this one.

This revision was automatically updated to reflect the committed changes.