From 8e2837e549dba107f8dcac0cd33d855ffecb40e6 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Fri, 16 Aug 2019 23:20:54 +0000 Subject: [PATCH] [ORC] Re-introduce self-dependence accidentally dropped from a unit test. llvm-svn: 369171 --- llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp index d52ff4ba651b..0212f53468cd 100644 --- a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp +++ b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp @@ -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();