[all-commits] [llvm/llvm-project] 406ef3: [Orc] Use extensible RTTI for the orc::ObjectLayer...
Stefan Gränitz via All-commits
all-commits at lists.llvm.org
Fri Feb 26 04:14:33 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 406ef36b03f911014018ba7ee1d3259567b14575
https://github.com/llvm/llvm-project/commit/406ef36b03f911014018ba7ee1d3259567b14575
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Layer.h
M llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
M llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h
M llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
M llvm/lib/ExecutionEngine/Orc/Layer.cpp
M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
M llvm/lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp
M llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
M llvm/tools/lli/lli.cpp
Log Message:
-----------
[Orc] Use extensible RTTI for the orc::ObjectLayer class hierarchy
So far we had no way to distinguish between JITLink and RuntimeDyld in lli. Instead, we used implicit knowledge that RuntimeDyld would be used for linking ELF. In order to get D97337 to work with lli though, we have to move on and allow JITLink for ELF. This patch uses extensible RTTI to allow external clients to add their own layers without touching the LLVM sources.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D97338
More information about the All-commits
mailing list