aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2021-10-30 15:43:21 -0700
committerLang Hames <lhames@gmail.com>2021-10-30 16:12:45 -0700
commit213666f8044990bbf2999c2dc839b6c984e5616b (patch)
tree8abc11943fc9f1cf9829ed764c2acc5c3a18f5de /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
parent2d48b19136722f76e467c5e72d36208455f63953 (diff)
downloadllvm-213666f8044990bbf2999c2dc839b6c984e5616b.zip
llvm-213666f8044990bbf2999c2dc839b6c984e5616b.tar.gz
llvm-213666f8044990bbf2999c2dc839b6c984e5616b.tar.bz2
[ORC] Move CWrapperFunctionResult out of the detail:: namespace.
This type has been moved up into the llvm::orc::shared namespace. This type was originally put in the detail:: namespace on the assumption that few (if any) LLVM source files would need to use it. In practice it has been needed in many places, and will continue to be needed until/unless OrcTargetProcess is fully merged into the ORC runtime.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
index b543529..2eb8355 100644
--- a/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp
@@ -125,7 +125,7 @@ void SelfExecutorProcessControl::callWrapperAsync(ExecutorAddr WrapperFnAddr,
IncomingWFRHandler SendResult,
ArrayRef<char> ArgBuffer) {
using WrapperFnTy =
- shared::detail::CWrapperFunctionResult (*)(const char *Data, size_t Size);
+ shared::CWrapperFunctionResult (*)(const char *Data, size_t Size);
auto *WrapperFn = WrapperFnAddr.toPtr<WrapperFnTy>();
SendResult(WrapperFn(ArgBuffer.data(), ArgBuffer.size()));
}
@@ -170,7 +170,7 @@ void SelfExecutorProcessControl::writeBuffersAsync(
OnWriteComplete(Error::success());
}
-shared::detail::CWrapperFunctionResult
+shared::CWrapperFunctionResult
SelfExecutorProcessControl::jitDispatchViaWrapperFunctionManager(
void *Ctx, const void *FnTag, const char *Data, size_t Size) {