[compiler-rt] [llvm] [clang] [clang-repl] [ORC] Add support for out-of-process execution on ELF (PR #79936)

2024-02-01 Thread via cfe-commits
https://github.com/jameshu15869 updated https://github.com/llvm/llvm-project/pull/79936 >From 5efb122bc1d3b732bd58eb636ec770dfc572611f Mon Sep 17 00:00:00 2001 From: James Hu Date: Sun, 28 Jan 2024 20:01:20 -0500 Subject: [PATCH 1/7] [clang-repl][ORC] Add support for out-of-process execution

[compiler-rt] [llvm] [clang] [clang-repl] [ORC] Add support for out-of-process execution on ELF (PR #79936)

2024-02-01 Thread via cfe-commits
https://github.com/jameshu15869 updated https://github.com/llvm/llvm-project/pull/79936 >From 5efb122bc1d3b732bd58eb636ec770dfc572611f Mon Sep 17 00:00:00 2001 From: James Hu Date: Sun, 28 Jan 2024 20:01:20 -0500 Subject: [PATCH 1/6] [clang-repl][ORC] Add support for out-of-process execution

[compiler-rt] [llvm] [clang] [clang-repl] [ORC] Add support for out-of-process execution on ELF (PR #79936)

2024-02-01 Thread via cfe-commits
@@ -16,13 +16,24 @@ #include "clang/Interpreter/CodeCompletion.h" #include "clang/Interpreter/Interpreter.h" +#include "llvm/ADT/StringExtras.h" +#include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h" #include "llvm/ExecutionEngine/Orc/LLJIT.h" +#include

[compiler-rt] [llvm] [clang] [clang-repl] [ORC] Add support for out-of-process execution on ELF (PR #79936)

2024-02-01 Thread via cfe-commits
@@ -0,0 +1,61 @@ +// REQUIRES: host-supports-jit, x86_64-linux jameshu15869 wrote: Since only ELF and Linux are supported right now, I thought that adding extra `RUN` lines to the others tests would cause unnecessary failures in COFF (Windows) and MachO (Mac).