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

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 15:32:40 PST 2024


================
@@ -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 "llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h"
 #include "llvm/LineEditor/LineEditor.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/ManagedStatic.h" // llvm_shutdown
 #include "llvm/Support/Signals.h"
 #include "llvm/Support/TargetSelect.h"
+#include "llvm/TargetParser/Host.h"
 #include <optional>
+#include <sys/types.h>
+
+#ifdef LLVM_ON_UNIX
+#include <netdb.h>
+#include <sys/socket.h>
+#include <unistd.h>
+#endif // LLVM_ON_UNIX
----------------
jameshu15869 wrote:

I was seeing build failures in CI due to some headers. `llvm-jitlink` (Where I got most of the code for creating/managing the executor process) does not support connecting to an already running executor over TCP. 

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


More information about the llvm-commits mailing list