summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/Orc
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-08-16 23:20:54 +0000
committerLang Hames <lhames@gmail.com>2019-08-16 23:20:54 +0000
commit8e2837e549dba107f8dcac0cd33d855ffecb40e6 (patch)
treed644792a5c3bb0baa1b7c4e76adf7d172eae501e /llvm/unittests/ExecutionEngine/Orc
parent0dd9494d4701de60479d03db9012a5524a39932a (diff)
downloadbcm5719-llvm-8e2837e549dba107f8dcac0cd33d855ffecb40e6.tar.gz
bcm5719-llvm-8e2837e549dba107f8dcac0cd33d855ffecb40e6.zip
[ORC] Re-introduce self-dependence accidentally dropped from a unit test.
llvm-svn: 369171
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc')
-rw-r--r--llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp b/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
index d52ff4ba651..0212f53468c 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();
OpenPOWER on IntegriCloud