[PATCH] D55619: [elfabi] Add option to manually specify file read format

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 2 04:23:42 PST 2019


jhenderson accepted this revision.
jhenderson added a comment.

LGTM.



================
Comment at: llvm/tools/llvm-elfabi/llvm-elfabi.cpp:40
+                          "TBE", "Read `input` as text-based ELF stub"),
+               clEnumValN(FileFormat::TBE,
+                          "tbe", "(alias for TBE)"),
----------------
amontanez wrote:
> jhenderson wrote:
> > I take it there's no way of making the input argument match-up case insensitive? I know that options can be case-insensitive if the command line library is used appropriately.
> I looked into this for a while and couldn't find any way make these case insensitive. I assumed it would be possible too. I realized that the other command line options weren't case insensitive either, so I've set these to be lowercase only for consistency.
@jakehehrlich, didn't you run into something like this in llvm-objcopy? Maybe you could shed some light on things.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55619/new/

https://reviews.llvm.org/D55619





More information about the llvm-commits mailing list