[llvm] r369171 - [ORC] Re-introduce self-dependence accidentally dropped from a unit test.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 16 16:20:54 PDT 2019
Author: lhames
Date: Fri Aug 16 16:20:54 2019
New Revision: 369171
URL: http://llvm.org/viewvc/llvm-project?rev=369171&view=rev
Log:
[ORC] Re-introduce self-dependence accidentally dropped from a unit test.
Modified:
llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Modified: llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp?rev=369171&r1=369170&r2=369171&view=diff
==============================================================================
--- llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp (original)
+++ llvm/trunk/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp Fri Aug 16 16:20:54 2019
@@ -373,6 +373,7 @@ TEST_F(CoreAPIsStandardTest, TestTrivial
ES.lookup(JITDylibSearchList({{&JD, false}}), {Foo}, SymbolState::Ready,
OnCompletion, NoDependenciesToRegister);
+ FooR->addDependenciesForAll({{&JD, SymbolNameSet({Foo})}});
FooR->notifyResolved({{Foo, FooSym}});
FooR->notifyEmitted();
More information about the llvm-commits
mailing list