[clang] [Clang-Repl] Add custom function as lambda in launchExecutor and fetch PID of launched executor (PR #147478)

Vassil Vassilev via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 1 07:25:44 PDT 2025


================
@@ -26,6 +27,20 @@ add_distinct_clang_unittest(ClangReplInterpreterTests
   TargetParser
   )
 
+if(TARGET compiler-rt)
+  list(APPEND CLANG_REPL_TEST_SOURCES
+    OutOfProcessInterpreterTests.cpp
+  )
+  add_dependencies(ClangReplInterpreterTests 
+    llvm-jitlink-executor 
+    compiler-rt
+  )
+  message(STATUS "Compiler-RT found, enabling OOP JIT tests")
+  set(CLANG_HAS_COMPILER_RT TRUE)
+else()
+  set(CLANG_HAS_COMPILER_RT FALSE)
----------------
vgvassilev wrote:

We don't seem to be using these anywhere not that we conditionally include the test case.

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


More information about the cfe-commits mailing list