LLVM 20.0.0git
|
#include "ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h"
Static Public Member Functions | |
static std::unique_ptr< RuntimeDyldCOFF > | create (Triple::ArchType Arch, RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver) |
Static Public Member Functions inherited from llvm::RuntimeDyldImpl | |
static void | finalizeAsync (std::unique_ptr< RuntimeDyldImpl > This, unique_function< void(object::OwningBinary< object::ObjectFile >, std::unique_ptr< RuntimeDyld::LoadedObjectInfo >, Error)> OnEmitted, object::OwningBinary< object::ObjectFile > O, std::unique_ptr< RuntimeDyld::LoadedObjectInfo > Info) |
Static Protected Member Functions | |
static constexpr StringRef | getImportSymbolPrefix () |
Definition at line 23 of file RuntimeDyldCOFF.h.
|
inlineprotected |
Definition at line 35 of file RuntimeDyldCOFF.h.
References assert().
|
static |
Definition at line 48 of file RuntimeDyldCOFF.cpp.
References llvm::Triple::aarch64, llvm::RuntimeDyldImpl::Arch, llvm_unreachable, llvm::RuntimeDyldImpl::MemMgr, llvm::Triple::thumb, llvm::Triple::x86, and llvm::Triple::x86_64.
Referenced by llvm::createRuntimeDyldCOFF().
|
protected |
Definition at line 81 of file RuntimeDyldCOFF.cpp.
References llvm::RuntimeDyldImpl::addRelocationForSymbol(), llvm::alignTo(), assert(), llvm::dbgs(), llvm::format(), llvm::formatv(), getImportSymbolPrefix(), I, LLVM_DEBUG, llvm::Log2_64(), Name, llvm::RelocationEntry::SectionPair::SectionA, llvm::RelocationEntry::Sections, llvm::RuntimeDyldImpl::Sections, llvm::size(), and llvm::RelocationValueRef::SymbolName.
Referenced by llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), and llvm::RuntimeDyldCOFFX86_64::processRelocationRef().
|
inlinestaticconstexprprotected |
Definition at line 47 of file RuntimeDyldCOFF.h.
Referenced by getDLLImportOffset(), llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), llvm::RuntimeDyldCOFFX86_64::processRelocationRef(), and relocationNeedsDLLImportStub().
Definition at line 76 of file RuntimeDyldCOFF.cpp.
References llvm::cantFail(), and Sym.
Referenced by llvm::RuntimeDyldCOFFAArch64::processRelocationRef(), llvm::RuntimeDyldCOFFI386::processRelocationRef(), llvm::RuntimeDyldCOFFThumb::processRelocationRef(), and llvm::RuntimeDyldCOFFX86_64::processRelocationRef().
|
overridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 117 of file RuntimeDyldCOFF.cpp.
References llvm::object::Binary::isCOFF().
|
overridevirtual |
Implements llvm::RuntimeDyldImpl.
Definition at line 65 of file RuntimeDyldCOFF.cpp.
References llvm::RuntimeDyldImpl::ErrorStr, llvm::RuntimeDyldImpl::HasError, llvm::RuntimeDyldImpl::loadObjectImpl(), and llvm::logAllUnhandledErrors().
|
overrideprotectedvirtual |
Reimplemented from llvm::RuntimeDyldImpl.
Definition at line 121 of file RuntimeDyldCOFF.cpp.
References getImportSymbolPrefix().
|
inlineoverrideprotectedvirtual |
Reimplemented from llvm::RuntimeDyldImpl.
Definition at line 51 of file RuntimeDyldCOFF.h.
References llvm::alignTo(), and Size.