1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/ExecutionEngine/RuntimeDyld
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
..
Targets [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
JITSymbol.cpp [ExecutionEngine] Add JITSymbolFlags::fromSummary(GlobalValueSummary*) 2020-02-29 11:54:03 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RTDyldMemoryManager.cpp Disable EHFrameSupport in JITLink/RuntimeDyld on AIX 2019-05-22 17:41:27 +00:00
RuntimeDyld.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
RuntimeDyldChecker.cpp [RuntimeDyld] Allow multi-line rtdyld-check and jitlink-check expressions. 2020-03-10 16:08:40 -07:00
RuntimeDyldCheckerImpl.h Simplify decoupling between RuntimeDyld/RuntimeDyldChecker, add 'got_addr' util. 2019-04-12 18:07:28 +00:00
RuntimeDyldCOFF.cpp [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. 2020-03-10 16:08:40 -07:00
RuntimeDyldCOFF.h [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. 2020-03-10 16:08:40 -07:00
RuntimeDyldELF.cpp Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
RuntimeDyldELF.h Simplify decoupling between RuntimeDyld/RuntimeDyldChecker, add 'got_addr' util. 2019-04-12 18:07:28 +00:00
RuntimeDyldImpl.h [RuntimeDyld][COFF] Build stubs for COFF dllimport symbols. 2020-03-10 16:08:40 -07:00
RuntimeDyldMachO.cpp AArch64: support arm64_32, an ILP32 slice for watchOS. 2019-09-12 10:22:23 +00:00
RuntimeDyldMachO.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00