[TextAPI] Arch&Platform to Target
authorCyndy Ishida <cyndy_ishida@apple.com>
Fri, 20 Sep 2019 14:32:34 +0000 (14:32 +0000)
committerCyndy Ishida <cyndy_ishida@apple.com>
Fri, 20 Sep 2019 14:32:34 +0000 (14:32 +0000)
commit81669d5ead6fa555f13308771a6d4cd97f9a73c5
tree7ab3adb03b615d52c00acec032b97e6d0d736e38
parent084801bdc1a798f30d3ecc183009c74809e051c5
[TextAPI] Arch&Platform to Target

Summary:
This is a patch for updating TextAPI/Macho to read in targets as opposed to arch/platform.
This is because in previous versions tbd files only supported a single platform but that is no longer the case,
so, now its tracked by unique triples.
This precedes a seperate patch that will add  the TBD-v4 format

Reviewers: ributzka, steven_wu, plotfi, compnerd, smeenai

Reviewed By: ributzka

Subscribers: mgorny, hiraditya, dexonsmith, llvm-commits

Tags: #llvm

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

llvm-svn: 372396
20 files changed:
llvm/include/llvm/TextAPI/MachO/Architecture.h
llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h
llvm/include/llvm/TextAPI/MachO/InterfaceFile.h
llvm/include/llvm/TextAPI/MachO/Platform.h [new file with mode: 0644]
llvm/include/llvm/TextAPI/MachO/Symbol.h
llvm/include/llvm/TextAPI/MachO/Target.h [new file with mode: 0644]
llvm/lib/Object/TapiFile.cpp
llvm/lib/TextAPI/CMakeLists.txt
llvm/lib/TextAPI/MachO/Architecture.cpp
llvm/lib/TextAPI/MachO/InterfaceFile.cpp
llvm/lib/TextAPI/MachO/Platform.cpp [new file with mode: 0644]
llvm/lib/TextAPI/MachO/Symbol.cpp
llvm/lib/TextAPI/MachO/Target.cpp [new file with mode: 0644]
llvm/lib/TextAPI/MachO/TextStub.cpp
llvm/lib/TextAPI/MachO/TextStubCommon.cpp
llvm/lib/TextAPI/MachO/TextStubCommon.h
llvm/tools/llvm-ifs/llvm-ifs.cpp
llvm/unittests/TextAPI/TextStubV1Tests.cpp
llvm/unittests/TextAPI/TextStubV2Tests.cpp
llvm/unittests/TextAPI/TextStubV3Tests.cpp