[PATCH] D33872: [llvm-readobj] Accept -S as an alias for --sections
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 3 16:27:12 PDT 2017
davide added a comment.
So, I don't this this divergence from GNU readelf is a good thing in general (and it's probably just historical).
I'm not sure whether we should bite the bullet and change the options to be `readelf` compliant (unless there's a good reason fro not doing it).
The argument in favour is that `llvm-readobj` is supposed to be a developer tool only (for testing). The GNU compatibility mode has been added relatively recently so, probably few people are already using it. The argument against it is that people generally expect cmdline options to be stable ("cast in stone") over releases.
Repository:
rL LLVM
https://reviews.llvm.org/D33872
More information about the llvm-commits
mailing list