[llvm] 36a060a - [ORC] Sink DynamicLibrary.h header include into ExecutorProcessControl.cpp.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 03:07:16 PDT 2025


Author: Lang Hames
Date: 2025-06-25T20:07:10+10:00
New Revision: 36a060a4e51b09f4cd6dc41bc8d82c8dd22084df

URL: https://github.com/llvm/llvm-project/commit/36a060a4e51b09f4cd6dc41bc8d82c8dd22084df
DIFF: https://github.com/llvm/llvm-project/commit/36a060a4e51b09f4cd6dc41bc8d82c8dd22084df.diff

LOG: [ORC] Sink DynamicLibrary.h header include into ExecutorProcessControl.cpp.

This include is only used for implementation, so shouldn't be in the public
header.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
    llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h b/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
index 4f0e151aceca0..6fce74ddf72fe 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/ExecutorProcessControl.h
@@ -23,7 +23,6 @@
 #include "llvm/ExecutionEngine/Orc/TargetProcess/UnwindInfoManager.h"
 #include "llvm/ExecutionEngine/Orc/TaskDispatch.h"
 #include "llvm/Support/Compiler.h"
-#include "llvm/Support/DynamicLibrary.h"
 #include "llvm/Support/MSVCErrorWorkarounds.h"
 #include "llvm/TargetParser/Triple.h"
 

diff  --git a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
index 45cb28af56050..854e6d7135860 100644
--- a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
@@ -11,6 +11,7 @@
 #include "llvm/ExecutionEngine/Orc/Core.h"
 #include "llvm/ExecutionEngine/Orc/TargetProcess/DefaultHostBootstrapValues.h"
 #include "llvm/ExecutionEngine/Orc/TargetProcess/TargetExecutionUtils.h"
+#include "llvm/Support/DynamicLibrary.h"
 #include "llvm/Support/Process.h"
 #include "llvm/TargetParser/Host.h"
 


        


More information about the llvm-commits mailing list