LLVM 20.0.0git
|
Configure the LLJIT instance to use the ORC runtime and the detected native target for the executor. More...
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
Public Member Functions | |
ExecutorNativePlatform (std::string OrcRuntimePath) | |
Set up using path to Orc runtime. | |
ExecutorNativePlatform (std::unique_ptr< MemoryBuffer > OrcRuntimeMB) | |
Set up using the given memory buffer. | |
ExecutorNativePlatform & | addVCRuntime (std::string VCRuntimePath, bool StaticVCRuntime) |
Add a path to the VC runtime. | |
Expected< JITDylibSP > | operator() (LLJIT &J) |
Configure the LLJIT instance to use the ORC runtime and the detected native target for the executor.
|
inline |
|
inline |
|
inline |
Expected< JITDylibSP > llvm::orc::ExecutorNativePlatform::operator() | ( | LLJIT & | J | ) |
Definition at line 1140 of file LLJIT.cpp.
References A, llvm::orc::JITDylib::addToLinkOrder(), llvm::Triple::COFF, llvm::orc::StaticLibraryDefinitionGenerator::Create(), llvm::orc::MachOPlatform::Create(), llvm::orc::ELFNixPlatform::Create(), llvm::orc::COFFPlatform::Create(), llvm::orc::ExecutionSession::createBareJITDylib(), llvm::Triple::ELF, llvm::errorOrToExpected(), G, llvm::orc::LLJIT::getExecutionSession(), llvm::MemoryBuffer::getFile(), llvm::orc::LLJIT::getObjLinkingLayer(), llvm::orc::LLJIT::getProcessSymbolsJITDylib(), llvm::orc::LLJIT::getTargetTriple(), llvm::inconvertibleErrorCode(), llvm::Triple::MachO, P, llvm::orc::ExecutionSession::setPlatform(), and llvm::orc::LLJIT::setPlatformSupport().