[llvm] 20cea4d - [ORC] Sink include into implementation file.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 19:07:50 PST 2025


Author: Lang Hames
Date: 2025-02-27T14:07:36+11:00
New Revision: 20cea4d410df8f92a8dc639c1747c238e1e3e65b

URL: https://github.com/llvm/llvm-project/commit/20cea4d410df8f92a8dc639c1747c238e1e3e65b
DIFF: https://github.com/llvm/llvm-project/commit/20cea4d410df8f92a8dc639c1747c238e1e3e65b.diff

LOG: [ORC] Sink include into implementation file.

TapiUniversal.h is only needed as an implementation detail.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/GetDylibInterface.h b/llvm/include/llvm/ExecutionEngine/Orc/GetDylibInterface.h
index 3bdf33089b1c0..317d0e40fce2b 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/GetDylibInterface.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/GetDylibInterface.h
@@ -16,7 +16,6 @@
 #define LLVM_EXECUTIONENGINE_ORC_GETDYLIBINTERFACE_H
 
 #include "llvm/ExecutionEngine/Orc/Core.h"
-#include "llvm/Object/TapiUniversal.h"
 
 namespace llvm::orc {
 

diff  --git a/llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp b/llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp
index f49b9fe3c1ec9..00086b69b77aa 100644
--- a/llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/GetDylibInterface.cpp
@@ -11,6 +11,7 @@
 #include "llvm/BinaryFormat/Magic.h"
 #include "llvm/Object/MachO.h"
 #include "llvm/Object/MachOUniversal.h"
+#include "llvm/Object/TapiUniversal.h"
 
 #define DEBUG_TYPE "orc"
 


        


More information about the llvm-commits mailing list