]> granicus.if.org Git - llvm/commitdiff
[ORC] Re-introduce self-dependence accidentally dropped from a unit test.
authorLang Hames <lhames@gmail.com>
Fri, 16 Aug 2019 23:20:54 +0000 (23:20 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 16 Aug 2019 23:20:54 +0000 (23:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369171 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp

index d52ff4ba651b964c6c2c6f6b66032b7725098e9d..0212f53468cdea7a72c2b00c3923f4bb1e18af74 100644 (file)
@@ -373,6 +373,7 @@ TEST_F(CoreAPIsStandardTest, TestTrivialCircularDependency) {
   ES.lookup(JITDylibSearchList({{&JD, false}}), {Foo}, SymbolState::Ready,
             OnCompletion, NoDependenciesToRegister);
 
+  FooR->addDependenciesForAll({{&JD, SymbolNameSet({Foo})}});
   FooR->notifyResolved({{Foo, FooSym}});
   FooR->notifyEmitted();