Lines Matching defs:RuntimeDyld
1 //===-- RuntimeDyld.cpp - Run-time dynamic linker for MC-JIT ----*- C++ -*-===//
13 #include "llvm/ExecutionEngine/RuntimeDyld.h"
47 case GenericRTDyldError: return "Generic RuntimeDyld error";
70 void RuntimeDyld::LoadedObjectInfo::anchor() {}
1085 // RuntimeDyld::resolveRelocations().
1219 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>, Error)>
1222 std::unique_ptr<RuntimeDyld::LoadedObjectInfo> Info) {
1258 "Name already processed. RuntimeDyld instances can not be re-used "
1270 // RuntimeDyld class implementation
1272 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress(
1282 RuntimeDyld::MemoryManager::TLSSection
1283 RuntimeDyld::MemoryManager::allocateTLSSection(uintptr_t Size,
1290 void RuntimeDyld::MemoryManager::anchor() {}
1294 RuntimeDyld::RuntimeDyld(RuntimeDyld::MemoryManager &MemMgr,
1298 // RuntimeDyld is used to load multiple objects. The current implementation
1299 // associates a single memory manager with a RuntimeDyld instance. Even
1307 RuntimeDyld::~RuntimeDyld() = default;
1311 Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1313 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1322 createRuntimeDyldELF(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1324 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1334 Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1337 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1345 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
1346 RuntimeDyld::loadObject(const ObjectFile &Obj) {
1373 void *RuntimeDyld::getSymbolLocalAddress(StringRef Name) const {
1379 unsigned RuntimeDyld::getSymbolSectionID(StringRef Name) const {
1380 assert(Dyld && "No RuntimeDyld instance attached");
1384 JITEvaluatedSymbol RuntimeDyld::getSymbol(StringRef Name) const {
1390 std::map<StringRef, JITEvaluatedSymbol> RuntimeDyld::getSymbolTable() const {
1396 void RuntimeDyld::resolveRelocations() { Dyld->resolveRelocations(); }
1398 void RuntimeDyld::reassignSectionAddress(unsigned SectionID, uint64_t Addr) {
1402 void RuntimeDyld::mapSectionAddress(const void *LocalAddress,
1407 bool RuntimeDyld::hasError() { return Dyld->hasError(); }
1409 StringRef RuntimeDyld::getErrorString() { return Dyld->getErrorString(); }
1411 void RuntimeDyld::finalizeWithMemoryManagerLocking() {
1422 StringRef RuntimeDyld::getSectionContent(unsigned SectionID) const {
1427 uint64_t RuntimeDyld::getSectionLoadAddress(unsigned SectionID) const {
1432 void RuntimeDyld::registerEHFrames() {
1437 void RuntimeDyld::deregisterEHFrames() {
1442 // so that we can re-use RuntimeDyld's implementation without twisting the
1446 RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver,
1449 RuntimeDyld::LoadedObjectInfo &LoadedObj,
1453 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>, Error)>
1456 RuntimeDyld RTDyld(MemMgr, Resolver);