forked from OSchip/llvm-project
[ORC] Minor renaming and typo fixes (NFC)
Two typos, one unsused include and some leftovers from the TargetProcessControl -> ExecutorProcessControl renaming Reviewed By: xgupta Differential Revision: https://reviews.llvm.org/D110260
This commit is contained in:
parent
0bb767e7db
commit
767b328e50
|
@ -3704,7 +3704,7 @@ tree in terms of conformance to :doc:`ClangFormat` as of: June 04, 2021 13:01:37
|
|||
- `3`
|
||||
- `0`
|
||||
- :good:`100%`
|
||||
* - llvm/examples/OrcV2Examples/LLJITWithTargetProcessControl
|
||||
* - llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl
|
||||
- `1`
|
||||
- `1`
|
||||
- `0`
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
add_subdirectory(LLJITDumpObjects)
|
||||
add_subdirectory(LLJITWithCustomObjectLinkingLayer)
|
||||
add_subdirectory(LLJITWithExecutorProcessControl)
|
||||
add_subdirectory(LLJITWithGDBRegistrationListener)
|
||||
add_subdirectory(LLJITWithInitializers)
|
||||
add_subdirectory(LLJITWithLazyReexports)
|
||||
add_subdirectory(LLJITWithObjectCache)
|
||||
add_subdirectory(LLJITWithObjectLinkingLayerPlugin)
|
||||
add_subdirectory(LLJITWithOptimizingIRTransform)
|
||||
add_subdirectory(LLJITWithTargetProcessControl)
|
||||
add_subdirectory(LLJITWithThinLTOSummaries)
|
||||
add_subdirectory(OrcV2CBindingsAddObjectFile)
|
||||
add_subdirectory(OrcV2CBindingsBasicUsage)
|
||||
|
|
|
@ -7,6 +7,6 @@ set(LLVM_LINK_COMPONENTS
|
|||
nativecodegen
|
||||
)
|
||||
|
||||
add_llvm_example(LLJITWithTargetProcessControl
|
||||
LLJITWithTargetProcessControl.cpp
|
||||
add_llvm_example(LLJITWithExecutorProcessControl
|
||||
LLJITWithExecutorProcessControl.cpp
|
||||
)
|
|
@ -47,7 +47,7 @@ public:
|
|||
}
|
||||
|
||||
/// Cast this ExecutorAddress to a pointer of the given type.
|
||||
/// Warning: This should only be esude when JITing in-process.
|
||||
/// Warning: This should only be used when JITing in-process.
|
||||
template <typename T> T toPtr() const {
|
||||
static_assert(std::is_pointer<T>::value, "T must be a pointer type");
|
||||
uintptr_t IntPtr = static_cast<uintptr_t>(Addr);
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/FunctionExtras.h"
|
||||
#include "llvm/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.h"
|
||||
#include "llvm/ExecutionEngine/Orc/EPCGenericMemoryAccess.h"
|
||||
#include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h"
|
||||
#include "llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h"
|
||||
|
|
|
@ -223,7 +223,7 @@ void FDSimpleRemoteEPCTransport::listenLoop() {
|
|||
|
||||
if (MsgSize < FDMsgHeader::Size) {
|
||||
Err = joinErrors(std::move(Err),
|
||||
make_error<StringError>("Mesasge size too small",
|
||||
make_error<StringError>("Message size too small",
|
||||
inconvertibleErrorCode()));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue