[all-commits] [llvm/llvm-project] 0a518d: [InstallAPI] Set InstallAPI as a standalone tool i...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Wed Feb 21 09:39:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a518db99e0cffcdbb4cae73e27da87edbb25170
      https://github.com/llvm/llvm-project/commit/0a518db99e0cffcdbb4cae73e27da87edbb25170
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Action.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Driver/Types.def
    M clang/include/clang/Frontend/CompilerInstance.h
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/include/clang/Frontend/FrontendActions.h
    M clang/include/clang/Frontend/FrontendOptions.h
    R clang/include/clang/Frontend/InstallAPIOptions.h
    M clang/include/clang/InstallAPI/Context.h
    M clang/lib/Driver/Action.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Frontend/CMakeLists.txt
    M clang/lib/Frontend/CompilerInvocation.cpp
    R clang/lib/Frontend/InstallAPIConsumer.cpp
    M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
    M clang/lib/InstallAPI/CMakeLists.txt
    R clang/lib/InstallAPI/Context.cpp
    M clang/test/CMakeLists.txt
    R clang/test/Driver/installapi.h
    M clang/test/InstallAPI/installapi-basic.test
    A clang/test/InstallAPI/installapi-driver-invalid-options.test
    M clang/test/lit.cfg.py
    M clang/tools/CMakeLists.txt
    A clang/tools/clang-installapi/CMakeLists.txt
    A clang/tools/clang-installapi/ClangInstallAPI.cpp
    A clang/tools/clang-installapi/Options.cpp
    A clang/tools/clang-installapi/Options.h

  Log Message:
  -----------
  [InstallAPI] Set InstallAPI as a standalone tool instead of CC1 action (#82293)

Installapi has important distinctions when compared to the clang driver,
so much that, it doesn't make much sense to try to integrate into it.

This patch partially reverts the CC1 action & driver support to replace
with its own driver as a clang tool.

For distribution, we could use `LLVM_TOOL_LLVM_DRIVER_BUILD` mechanism
for integrating the functionality into clang such that the toolchain
size is less impacted.



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