[ORC] Use the new dispatchTask API to run query callbacks.
authorLang Hames <lhames@gmail.com>
Sun, 9 May 2021 18:20:54 +0000 (11:20 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 10 May 2021 02:19:40 +0000 (19:19 -0700)
commit7f9a89f9a2cc55dbfc315aa11416fe3609918199
tree2c12b19ee7acd1bdbb9fb5015d6d39f743187fc9
parent5344c88dcb2845f6a12cd0992deab1448b4d1419
[ORC] Use the new dispatchTask API to run query callbacks.

Dispatching query callbacks, rather than running them on the current thread,
will allow them to be distributed across multiple threads.
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp