[clang] [clang-repl] Fixing vulnerabilities with respect to orc runtime (PR #165852)

Anutosh Bhat via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 04:04:00 PDT 2025


================
@@ -309,6 +309,7 @@ int main(int argc, const char **argv) {
   clang::Interpreter::JITConfig Config;
   Config.IsOutOfProcess = !OOPExecutor.empty() || !OOPExecutorConnect.empty();
   Config.OOPExecutor = OOPExecutor;
+  Config.OrcRuntimePath = OrcRuntimePath;
----------------
anutosh491 wrote:

No 1 : 

I was trying this 
```
./clang-repl   --oop-executor=$PWD/llvm-jitlink-executor   --orc-runtime=/build/anutosh491/llvm-project/build/lib/clang/22/lib/x86_64-unknown-linux-gnu/liborc_rt.a
```
And was noticing that the orc-runtime flag isn't respected through the config.

Discovered it is not being set !

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


More information about the cfe-commits mailing list