Follow up for D53051
This patch introduces the tool associated with the ELF implementation of TextAPI (previously llvm-tapi, renamed for better distinction). This tool will house a number of features related to analysis and manipulation of shared object's exposed interfaces. The first major feature for this tool is support for producing binary stubs that are useful for compile-time linking of shared objects. This patch introduces beginnings of support for reading binary ELF objects to work towards that goal.
Added:
- elfabi tool.
- Support for reading architecture from a binary ELF file into an ELFStub.
- Support for writing .tbe files.
Why the cat command? You can have FileCheck read a file via --input-file (also applies to other tests).