1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/ExecutionEngine
Lang Hames bc59809461 [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols.
Summary:
Enables JIT-linking by RuntimeDyld of COFF objects that contain references to
dllimport symbols. This is done by recognizing symbols that start with the
reserved "__imp_" prefix and building a pointer entry to the target symbol in
the stubs area of the section. References to the "__imp_" symbol are updated to
point to this pointer.

Work in progress: The generic code is in place, but only RuntimeDyldCOFFX86_64
and RuntimeDyldCOFFI386 have been updated to look for and update references to
dllimport symbols.

Reviewers: compnerd

Subscribers: hiraditya, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75884
2020-03-10 16:08:40 -07:00
..
IntelJITEvents [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
Interpreter Make StringRef's std::string conversion operator explicit 2020-02-01 15:43:45 +01:00
JITLink Give helpers internal linkage. NFC. 2020-03-10 18:27:42 +01:00
MCJIT Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
OProfileJIT [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
Orc [ORC] Remove hard dependency on libobjc when using MachOPlatform with LLJIT. 2020-03-04 21:49:28 -08:00
OrcError [ORC] Add errors for missing and extraneous symbol definitions. 2020-02-22 11:49:14 -08:00
PerfJITEvents Make StringRef's std::string conversion operator explicit 2020-02-01 15:43:45 +01:00
RuntimeDyld [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. 2020-03-10 16:08:40 -07:00
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
ExecutionEngine.cpp [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction 2020-02-13 17:06:24 -08:00
ExecutionEngineBindings.cpp [MCJIT] Migrate function attribute "no-frame-pointer-elim" to "frame-pointer" 2019-12-24 17:12:21 -08:00
GDBRegistrationListener.cpp Replace llvm::MutexGuard/UniqueLock with their standard equivalents 2019-08-07 10:57:25 +00:00
LLVMBuild.txt Break out OrcError and RPC 2019-10-29 17:31:28 -07:00
SectionMemoryManager.cpp
TargetSelect.cpp [ExecutionEngine] Re-enable FastISel for non-iOS arm targets. 2020-01-11 10:49:59 -08:00