[ORC] Lookup now returns an error if any symbols are not found.
authorLang Hames <lhames@gmail.com>
Mon, 21 May 2018 21:11:21 +0000 (21:11 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 21 May 2018 21:11:21 +0000 (21:11 +0000)
commit0b0b41fccefbcd275dee6282b384abfb4ad03266
tree8b44105f2f60a6cd009d3ce4ee4627e0a84c934f
parentadd9b6805c7cd593ab7290275e6d9c77fce454f4
[ORC] Lookup now returns an error if any symbols are not found.

Also tightens the behavior of ExecutionSession::failQuery. Queries can usually
only be failed by marking a symbol as failed-to-materialize, but
ExecutionSession::failQuery provides a second route, and both routes may be
executed from different threads. In the case that a query has already been
failed due to a materialization error, ExecutionSession::failQuery will
direct the error to ExecutionSession::reportError instead.

llvm-svn: 332898
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/Core.cpp