diff options
author | Cyndy Ishida <cyndy_ishida@apple.com> | 2020-06-11 18:32:45 -0700 |
---|---|---|
committer | Cyndy Ishida <cyndy_ishida@apple.com> | 2020-06-11 18:54:16 -0700 |
commit | 28fefcc83c52291fef817afbe469b4fd0a80ca20 (patch) | |
tree | 35fe435da1d85fe832e55fc6964ca88b2d5a9d8e /llvm/lib/Object/TapiFile.cpp | |
parent | 519b019a0a6cd50b34c90d1ec7004bb802d680e8 (diff) | |
download | llvm-28fefcc83c52291fef817afbe469b4fd0a80ca20.zip llvm-28fefcc83c52291fef817afbe469b4fd0a80ca20.tar.gz llvm-28fefcc83c52291fef817afbe469b4fd0a80ca20.tar.bz2 |
[llvm][llvm-nm] add TextAPI/MachO support
Summary:
This completes the needed glueing to support reading tbd files from nm.
This includes specifying which slice filtering with `--arch` and a new
option specifically for tbd files `--add-inlinedinfo` which will show
the reexported libraries that are appended in the tbd file.
Reviewers: ributzka, steven_wu, JDevlieghere, jhenderson
Reviewed By: JDevlieghere
Subscribers: hiraditya, MaskRay, dexonsmith, rupprecht, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81614
Diffstat (limited to 'llvm/lib/Object/TapiFile.cpp')
-rw-r--r-- | llvm/lib/Object/TapiFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/TapiFile.cpp b/llvm/lib/Object/TapiFile.cpp index bbc3412..c732a8e 100644 --- a/llvm/lib/Object/TapiFile.cpp +++ b/llvm/lib/Object/TapiFile.cpp @@ -40,7 +40,7 @@ static uint32_t getFlags(const Symbol *Sym) { TapiFile::TapiFile(MemoryBufferRef Source, const InterfaceFile &interface, Architecture Arch) - : SymbolicFile(ID_TapiFile, Source) { + : SymbolicFile(ID_TapiFile, Source), Arch(Arch) { for (const auto *Symbol : interface.symbols()) { if (!Symbol->getArchitectures().has(Arch)) continue; |