[clang] [clang][MBD] set up module build daemon infrastructure (PR #67562)

Iain Sandoe via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 9 12:44:45 PDT 2023


================
@@ -3738,6 +3737,19 @@ static bool RenderModulesOptions(Compilation &C, const Driver &D,
        Std->containsValue("c++latest") || Std->containsValue("gnu++latest"));
   bool HaveModules = HaveStdCXXModules;
 
+  // -fmodule-build-daemon enables module build daemon functionality
+  if (Args.hasArg(options::OPT_fmodule_build_daemon))
+    Args.AddLastArg(CmdArgs, options::OPT_fmodule_build_daemon);
+
+  // by default module build daemon socket address and output files are saved
+  // under /tmp/ but that can be overridden by providing the
----------------
iains wrote:

is that a VFS /tmp - i.e. it will be available on all supported platforms?


https://github.com/llvm/llvm-project/pull/67562


More information about the cfe-commits mailing list