[JITLink][COFF] Implement dllimport stubs.
authorSunho Kim <ksunhokim123@naver.com>
Fri, 29 Jul 2022 07:27:07 +0000 (16:27 +0900)
committerSunho Kim <ksunhokim123@naver.com>
Fri, 29 Jul 2022 07:29:53 +0000 (16:29 +0900)
commit410e0aa759ac4ccc6b939e01bf26dba772cc2571
tree61d614f0a26de7af3ba96da523e0ed66c2e6bca4
parent72f57e3a30d597346feec74cf626796b0055680f
[JITLink][COFF] Implement dllimport stubs.

Implements dllimport stubs using GOT table manager. Benefit of using GOT table manager is that we can just reuse jitlink-check architecture.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D130175
llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp
llvm/test/ExecutionEngine/JITLink/X86/COFF_x86-64_small_pic_relocations.s