[clang] [clang-repl] Fix inconsistent flushing between in-process and out-of-process (PR #166368)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 4 06:26:38 PST 2025


================
@@ -351,6 +351,15 @@ const char *const Runtimes = R"(
   EXTERN_C void __clang_Interpreter_SetValueNoAlloc(void *This, void *OutVal, void *OpaqueType, ...);
 )";
 
+const char *const OOPRuntimes = R"(
+  #include <stdio.h>
----------------
vgvassilev wrote:

We cannot really include header files in the runtime because that makes the tool dependent on the library which is not allowed.

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


More information about the cfe-commits mailing list