[ORC] Call ExecutionSession::endSession in unit tests.
authorLang Hames <lhames@gmail.com>
Tue, 12 Oct 2021 21:27:39 +0000 (14:27 -0700)
committerLang Hames <lhames@gmail.com>
Tue, 12 Oct 2021 21:27:39 +0000 (14:27 -0700)
commit19b4e3cfc6a19e35c20171caab802f44d36bede9
tree089b2b4282a445f7cfb308a19aa17ef0d3f72944
parent2cadef6537b351cc696e2de1f5c8e9fbe6055980
[ORC] Call ExecutionSession::endSession in unit tests.

2815ed57e3c added calls from ExecutorProcessControl::disconnect implementations
to shut down the TaskDispatcher. We still need to call endSession to trigger
disconnection though. This commit adds the necessary calls to the failing unit
tests.

https://llvm.org/PR52153
llvm/unittests/ExecutionEngine/Orc/ExecutionSessionWrapperFunctionCallsTest.cpp