]> granicus.if.org Git - llvm/commit
[ORC] Add new symbol lookup methods to ExecutionSessionBase in preparation for
authorLang Hames <lhames@gmail.com>
Fri, 20 Jul 2018 18:31:53 +0000 (18:31 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 20 Jul 2018 18:31:53 +0000 (18:31 +0000)
commit7891d706dae32c60e9eb1e669fb1b0a4df85554f
tree5da341772b1a2c60a8df2c7869839d4122643711
parentec3e95710f450d533dbd3ab1feca28d1bbf9c259
[ORC] Add new symbol lookup methods to ExecutionSessionBase in preparation for
deprecating SymbolResolver and AsynchronousSymbolQuery.

Both lookup overloads take a VSO search order to perform the lookup. The first
overload is non-blocking and takes OnResolved and OnReady callbacks. The second
is blocking, takes a boolean flag to indicate whether to wait until all symbols
are ready, and returns a SymbolMap. Both overloads take a RegisterDependencies
function to register symbol dependencies (if any) on the query.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337595 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/Core.h
include/llvm/ExecutionEngine/Orc/Legacy.h
lib/ExecutionEngine/Orc/Core.cpp
lib/ExecutionEngine/Orc/Legacy.cpp
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp