Skip to content

Commit e7e13c6

Browse files
committed
[ORC] Fix another error fall-through in EPCGenericDylibManager::lookupAsync.
The early return added in this commit should have been added in cbf1535. No test-case: This would require a deliberately injected failure in a remote-JIT test and we don't have the infrastructure for that at the moment. rdar://126772381
1 parent 135d92f commit e7e13c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/ExecutionEngine/Orc/EPCGenericDylibManager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ void EPCGenericDylibManager::lookupAsync(tpctypes::DylibHandle H,
9292
if (SerializationErr) {
9393
cantFail(Result.takeError());
9494
Complete(std::move(SerializationErr));
95+
return;
9596
}
9697
Complete(std::move(Result));
9798
},

0 commit comments

Comments
 (0)