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

Steven Wu via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 19 14:36:56 PDT 2024


================
@@ -0,0 +1,25 @@
+// Check that a clang invocation can spawn and handshake with a module build daemon
+
+// RUN: %kill-process "-cc1modbuildd mbd-handshake"
+// RUN: rm -rf mbd-handshake %t
+// RUN: split-file %s %t
+
+//--- main.c
+int main() {return 0;}
+
+// RUN: %clang -fmodule-build-daemon=mbd-handshake -Rmodule-build-daemon %t/main.c &> %t/output-new || true
----------------
cachemeifyoucan wrote:

Right, it would be great to land the first version with a little more than just a hand shake. Maybe show a case with the situation I mentioned above (with a simple payload and response transferred after the handshake). Then I will feel more confident about the design.

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


More information about the cfe-commits mailing list