[PATCH] D81614: [llvm][llvm-nm] add TextAPI/MachO support

Cyndy Ishida via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 15:02:09 PDT 2020


cishida created this revision.
cishida added reviewers: ributzka, steven_wu, JDevlieghere.
Herald added subscribers: rupprecht, dexonsmith, MaskRay, hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81614

Files:
  llvm/docs/CommandGuide/llvm-nm.rst
  llvm/include/llvm/Object/TapiFile.h
  llvm/include/llvm/Object/TapiUniversal.h
  llvm/include/llvm/TextAPI/MachO/Architecture.def
  llvm/include/llvm/TextAPI/MachO/Architecture.h
  llvm/lib/Object/TapiFile.cpp
  llvm/lib/Object/TapiUniversal.cpp
  llvm/lib/TextAPI/MachO/Architecture.cpp
  llvm/lib/TextAPI/MachO/TextStubCommon.cpp
  llvm/test/Object/Inputs/tapi-invalid-v1.tbd
  llvm/test/Object/Inputs/tapi-invalid-v2.tbd
  llvm/test/Object/Inputs/tapi-invalid-v3.tbd
  llvm/test/Object/Inputs/tapi-v1.tbd
  llvm/test/Object/Inputs/tapi-v2.tbd
  llvm/test/Object/Inputs/tapi-v3.tbd
  llvm/test/Object/Inputs/tapi-v4.tbd
  llvm/test/Object/nm-tapi-invalids.test
  llvm/test/Object/nm-tapi.test
  llvm/tools/llvm-nm/llvm-nm.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81614.269975.patch
Type: text/x-patch
Size: 23766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/8b37a9fe/attachment.bin>


More information about the llvm-commits mailing list