[PATCH] D132524: [JITLink][COFF] Use DLLImportDefinitionGenerator for creating PLT stubs.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 23 20:05:05 PDT 2022


sunho created this revision.
sunho added reviewers: lhames, sgraenitz.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
sunho requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Uses DLLImportDefinitionGenerator for creating PLT stubs. It removes previous approach for dllimport stub creation which can't deal with jump thunks.


https://reviews.llvm.org/D132524

Files:
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
  llvm/lib/ExecutionEngine/JITLink/COFF_x86_64.cpp
  llvm/lib/ExecutionEngine/Orc/COFFPlatform.cpp
  llvm/test/ExecutionEngine/JITLink/X86/COFF_x86-64_small_pic_relocations.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132524.455054.patch
Type: text/x-patch
Size: 5176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220824/aab1a81d/attachment.bin>


More information about the llvm-commits mailing list