[Object] Add tapi files to object
authorCyndy Ishida <cyndy_ishida@apple.com>
Wed, 21 Aug 2019 23:30:53 +0000 (23:30 +0000)
committerCyndy Ishida <cyndy_ishida@apple.com>
Wed, 21 Aug 2019 23:30:53 +0000 (23:30 +0000)
commitc20d1f90b53ae53aee3cac86a84e79d596b5711e
tree53c7b8516c3d5526dda2864b82de33216c4bea42
parent78e6507b0af7d14dd2cdd6347608055cd452796b
[Object] Add tapi files to object

Summary:
The intention for this is to allow reading and printing symbols out from
llvm-nm. Tapi file, and Tapi universal follow a similiar format to
their respective MachO Object format.

The tests are dependent on llvm-nm processing tbd files which is why its in D66160

Reviewers: ributzka, steven_wu, lhames

Reviewed By: ributzka, lhames

Subscribers: mgorny, hiraditya, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D66159

llvm-svn: 369600
llvm/include/llvm/Object/Binary.h
llvm/include/llvm/Object/TapiFile.h [new file with mode: 0644]
llvm/include/llvm/Object/TapiUniversal.h [new file with mode: 0644]
llvm/lib/Object/Binary.cpp
llvm/lib/Object/CMakeLists.txt
llvm/lib/Object/LLVMBuild.txt
llvm/lib/Object/TapiFile.cpp [new file with mode: 0644]
llvm/lib/Object/TapiUniversal.cpp [new file with mode: 0644]