[llvm][TextAPI] adding inlining reexported libraries support
authorCyndy Ishida <cyndy_ishida@apple.com>
Wed, 1 Apr 2020 16:41:39 +0000 (09:41 -0700)
committerCyndy Ishida <cyndy_ishida@apple.com>
Thu, 2 Apr 2020 20:05:08 +0000 (13:05 -0700)
commitfd4d07517b2c94e4ca2a855a78b38953cc9d31e1
tree0eb8ca906e2d9016b6f40fea2ceab13da3c43d43
parentea3152bb3d359f61fd3c091a640d6f0c0b2a80cc
[llvm][TextAPI] adding inlining reexported libraries support

Summary:
[llvm][TextAPI] adding inlining reexported libraries support

* this patch adds reader/writer support for MachO tbd files.
The usecase is to represent reexported libraries in top level library
that won't need to exist for linker indirection because all of the
needed content will be inlined in the same document.

Reviewers: ributzka, steven_wu, jhenderson

Reviewed By: ributzka

Subscribers: JDevlieghere, hiraditya, mgrang, dexonsmith, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67646
llvm/include/llvm/TextAPI/MachO/InterfaceFile.h
llvm/lib/TextAPI/MachO/TextStub.cpp
llvm/unittests/TextAPI/TextStubV3Tests.cpp
llvm/unittests/TextAPI/TextStubV4Tests.cpp