[PATCH] D52124: [ELF][test] Use llvm-readelf's short option -r instead of -relocations and remove ignored --wide

Fāng-ruì Sòng via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 14 18:04:49 PDT 2018


On 2018-09-15, Rui Ueyama via Phabricator wrote:
>ruiu added a comment.
>
>I don't feel comfortable about using an option that is not shown in the --help message, so either add it to the help message or just leave them as is.
>
>
>Repository:
>  rLLD LLVM Linker
>
>https://reviews.llvm.org/D52124
>
>
>

I agree. These short options should show up in -help if they intend to be GNU readelf replacement (sortof).
Because most people use -d -r instead of the long --dynamic --relocs
(I'm unclear why there is some incompatibility here such as: -s is different in llvm-readelf and readelf)

Create https://reviews.llvm.org/D52129 to improve llvm-readelf -help


-- 
宋方睿


More information about the llvm-commits mailing list