mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 21:33:25 +00:00

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 enalysis 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. Differential Revision: https://reviews.llvm.org/D55352 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350341 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
299 B
Plaintext
8 lines
299 B
Plaintext
# RUN: not llvm-elfabi %s --emit-tbe=%t 2>&1 | FileCheck %s
|
|
|
|
This is just some text that cannot be read by llvm-elfabi.
|
|
|
|
# CHECK: The file was not recognized as a valid object file
|
|
# CHECK: YAML failed reading as TBE
|
|
# CHECK: No file readers succeeded reading `{{.*}}` (unsupported/malformed file?)
|