[all-commits] [llvm/llvm-project] 455bf3: [TextAPI] Consolidate TextAPI Reader/Writer APIs. ...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Thu Sep 14 20:43:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 455bf3d1ccd6a52df5e38103532c1b8f49924edc
      https://github.com/llvm/llvm-project/commit/455bf3d1ccd6a52df5e38103532c1b8f49924edc
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2023-09-14 (Thu, 14 Sep 2023)

  Changed paths:
    M llvm/include/llvm/Object/TapiFile.h
    M llvm/include/llvm/TextAPI/TextAPIReader.h
    M llvm/include/llvm/TextAPI/TextAPIWriter.h
    M llvm/lib/Object/TapiFile.cpp
    M llvm/lib/TextAPI/TextStub.cpp
    M llvm/lib/TextAPI/TextStubCommon.h
    M llvm/lib/TextAPI/TextStubV5.cpp
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/unittests/TextAPI/TextStubV5Tests.cpp

  Log Message:
  -----------
  [TextAPI] Consolidate TextAPI Reader/Writer APIs. (#66108)

Both Swift & LLD use TextAPI reader/writer apis to interface with TBD
files. Add doc strings to document what each API does. Also, add
shortcut APIs for validating input is a TBD file.

This reduces the differences between downstream and how tapi calls into
these APIs.




More information about the All-commits mailing list