[PATCH] D97338: [Orc] Add LLVM-style RTTI for orc::ObjectLayer

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 14:45:17 PST 2021


sgraenitz created this revision.
sgraenitz added reviewers: lhames, dblaikie.
Herald added a subscriber: hiraditya.
sgraenitz requested review of this revision.
Herald added a project: LLVM.

So far we had no way to distinct between JITLink and RuntimeDyld in lli. Instead, we used implicit knowledge that RuntimeDyld would be used for linking ELF. In order to get D97335 <https://reviews.llvm.org/D97335> to work with lli though, we have to move on and allow JITLink for ELF. This is could be a solution, there might be a better one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D97338

Files:
  llvm/include/llvm/ExecutionEngine/Orc/Layer.h
  llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
  llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
  llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
  llvm/lib/ExecutionEngine/Orc/Layer.cpp
  llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  llvm/lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp
  llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
  llvm/tools/lli/lli.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97338.325903.patch
Type: text/x-patch
Size: 6538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210223/a0c73607/attachment.bin>


More information about the llvm-commits mailing list