[PATCH] D158496: [WIP][clang][modules] module build daemon initial commit

Connor Sughrue via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 22 01:49:37 PDT 2023


cpsughrue created this revision.
cpsughrue added reviewers: jansvoboda11, Bigcheese.
Herald added a project: All.
cpsughrue requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.

Initial commit for module build daemon. The title will be updated soon to remove the [WIP] tag once I am done writing tests.

The goal of the commit: A source file that doesn't depend on any modules can connect to the daemon, get scanned, find that there are no modules, then resume building. If there are any modules in the dependency graph have the daemon emit a warning that dependencies were detected but that the daemon cannot yet build modules or update the cc1 command line.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158496

Files:
  clang/include/clang/Driver/Options.td
  clang/include/clang/Frontend/FrontendOptions.h
  clang/include/clang/Tooling/ModuleBuildDaemon/Protocol.h
  clang/include/clang/Tooling/ModuleBuildDaemon/SocketSupport.h
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Tooling/CMakeLists.txt
  clang/lib/Tooling/ModuleBuildDaemon/CMakeLists.txt
  clang/lib/Tooling/ModuleBuildDaemon/Protocol.cpp
  clang/lib/Tooling/ModuleBuildDaemon/SocketSupport.cpp
  clang/tools/driver/CMakeLists.txt
  clang/tools/driver/cc1_main.cpp
  clang/tools/driver/cc1modbuildd_main.cpp
  clang/tools/driver/driver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158496.552262.patch
Type: text/x-patch
Size: 33106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230822/9aeef254/attachment-0001.bin>


More information about the cfe-commits mailing list