[PATCH] D55619: [elfabi] Add option to manually specify file read format
Armando Montanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 12 14:17:30 PST 2018
amontanez created this revision.
amontanez added reviewers: jakehehrlich, phosek, mcgrathr, jhenderson.
Herald added a subscriber: llvm-commits.
Although llvm-elfabi will attempt to read input files without needing the format to be manually specified, doing so has the potential to introduce extraneous errors that can hinder debugging (since multiple readers may fail in attempts to read the file). This change allows the input file format to be manually specified to force elfabi to use a single reader. This makes it easier to test and debug errors specific to a given reader.
Repository:
rL LLVM
https://reviews.llvm.org/D55619
Files:
llvm/test/tools/llvm-elfabi/read-tbe-as-elf.test
llvm/test/tools/llvm-elfabi/read-tbe-as-tbe.test
llvm/tools/llvm-elfabi/llvm-elfabi.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55619.177913.patch
Type: text/x-patch
Size: 4118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181212/86b1a57c/attachment.bin>
More information about the llvm-commits
mailing list