[all-commits] [llvm/llvm-project] 4c1868: [InstallAPI] Add support for aliased exports (#88750)

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Thu Apr 18 07:39:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c18681a2d5a5738233fce9d7746b968d4b4ab76
      https://github.com/llvm/llvm-project/commit/4c18681a2d5a5738233fce9d7746b968d4b4ab76
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/InstallAPI/DylibVerifier.h
    M clang/include/clang/InstallAPI/MachO.h
    M clang/lib/InstallAPI/DylibVerifier.cpp
    A clang/test/InstallAPI/alias_list.test
    M clang/test/InstallAPI/mismatching-objc-class-symbols.test
    M clang/tools/clang-installapi/ClangInstallAPI.cpp
    M clang/tools/clang-installapi/Options.cpp
    M clang/tools/clang-installapi/Options.h
    M llvm/include/llvm/TextAPI/Utils.h
    M llvm/lib/TextAPI/Utils.cpp

  Log Message:
  -----------
  [InstallAPI] Add support for aliased exports (#88750)

Apple's ld supports alias_lists, described as
```
     -alias_list filename
             The specified filename contains a list of aliases. The symbol name and its alias are on one
             line, separated by whitespace.  Lines starting with # are ignored.
```
To handle this for installapi-produced TBD files, pass along the same
input and account for it in verification.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list