[PATCH] D130276: [JITLink][COFF] Implement alternatename linker directive.

Sunho Kim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 07:53:56 PDT 2022


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

Implements alternatename linker directive. This is used by static msvc runtime library. Alias symbol is technically incorrect (we have to search for external library) but we don't have a way to represent this in jitlink/orc yet I believe. This still handles msvc runtime correctly as noone really define symbols on which alternatename is used.


https://reviews.llvm.org/D130276

Files:
  llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
  llvm/lib/ExecutionEngine/JITLink/COFFDirectiveParser.cpp
  llvm/lib/ExecutionEngine/JITLink/COFFDirectiveParser.h
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
  llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
  llvm/lib/ExecutionEngine/JITLink/COFFOptions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130276.446504.patch
Type: text/x-patch
Size: 17296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220721/afc8ff82/attachment.bin>


More information about the llvm-commits mailing list