[all-commits] [llvm/llvm-project] 28fefc: [llvm][llvm-nm] add TextAPI/MachO support

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Thu Jun 11 19:00:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28fefcc83c52291fef817afbe469b4fd0a80ca20
      https://github.com/llvm/llvm-project/commit/28fefcc83c52291fef817afbe469b4fd0a80ca20
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list