[PATCH] D53804: [llvm-objdump] add support for '--reloc' as an alias of -r (PR39407)

Kristina Brooks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 31 01:41:17 PDT 2018


kristina added a comment.

In https://reviews.llvm.org/D53804#1281829, @Higuoxing wrote:

> Shall we commit this patch and then refactor alias options? I remember I've brought 3 alias options into `llvm-objdump` (include this one). They are: https://reviews.llvm.org/rL345495 https://reviews.llvm.org/rL345697


Well for `llvm-objdump` we'd likely use a similar approach to `llvm-objcopy` or `lld` where the options are defined in a TableGen file and then parsed and stored in some form of a state object, if that makes sense. But again, I think it's out of the scope of this patch, for just a single option that provides a provisional bugfix for compatibility with GNU tools.


https://reviews.llvm.org/D53804





More information about the llvm-commits mailing list