[ORC] Add support for adding LinkGraphs directly to ObjectLinkingLayer.
authorLang Hames <lhames@gmail.com>
Fri, 14 May 2021 04:35:34 +0000 (21:35 -0700)
committerLang Hames <lhames@gmail.com>
Fri, 14 May 2021 04:44:13 +0000 (21:44 -0700)
commit0fda4c4745b81e8a0eed2b80b0b03f33c16c2b99
treece52114be1f54a2ddeba54c643191febb93888d0
parent9099c9ef78c01145f9cf93671081409a8c4c0394
[ORC] Add support for adding LinkGraphs directly to ObjectLinkingLayer.

This is separate from (but builds on) the support added in ec6b71df70a for
emitting LinkGraphs in the context of an active materialization. This commit
makes LinkGraphs a first-class data structure with features equivalent to
object files within ObjectLinkingLayer.
llvm/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
llvm/unittests/ExecutionEngine/Orc/ObjectLinkingLayerTest.cpp [new file with mode: 0644]