OSDN Git Service

[ORC] Remove symbols from dependency lists when failing materialization.
authorLang Hames <lhames@gmail.com>
Thu, 25 Apr 2019 23:31:33 +0000 (23:31 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 25 Apr 2019 23:31:33 +0000 (23:31 +0000)
commit79fafc77f9208f033b1e2af9191c61a461dbcf7e
tree9aa2017fca1770064393fca28b591cb41584318f
parent03f06f0ea6780e0bebb38015ad242e712db52f39
[ORC] Remove symbols from dependency lists when failing materialization.

When failing materialization of a symbol X, remove X from the dependants list
of any of X's dependencies. This ensures that when X's dependencies are
emitted (or fail themselves) they do not try to access the no-longer-existing
MaterializationInfo for X.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359252 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Orc/Core.cpp
unittests/ExecutionEngine/Orc/CMakeLists.txt
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp