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() {}
1100 // RuntimeDyld::resolveRelocations().
1234 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>, Error)>
1237 std::unique_ptr<RuntimeDyld::LoadedObjectInfo> Info) {
1273 "Name already processed. RuntimeDyld instances can not be re-used "
1285 // RuntimeDyld class implementation
1287 uint64_t RuntimeDyld::LoadedObjectInfo::getSectionLoadAddress(
1297 RuntimeDyld::MemoryManager::TLSSection
1298 RuntimeDyld::MemoryManager::allocateTLSSection(uintptr_t Size,
1305 void RuntimeDyld::MemoryManager::anchor() {}
1309 RuntimeDyld::RuntimeDyld(RuntimeDyld::MemoryManager &MemMgr,
1313 // RuntimeDyld is used to load multiple objects. The current implementation
1314 // associates a single memory manager with a RuntimeDyld instance. Even
1322 RuntimeDyld::~RuntimeDyld() = default;
1326 Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1328 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1337 createRuntimeDyldELF(Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1339 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1349 Triple::ArchType Arch, RuntimeDyld::MemoryManager &MM,
1352 RuntimeDyld::NotifyStubEmittedFunction NotifyStubEmitted) {
1360 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>
1361 RuntimeDyld::loadObject(const ObjectFile &Obj) {
1388 void *RuntimeDyld::getSymbolLocalAddress(StringRef Name) const {
1394 unsigned RuntimeDyld::getSymbolSectionID(StringRef Name) const {
1395 assert(Dyld && "No RuntimeDyld instance attached");
1399 JITEvaluatedSymbol RuntimeDyld::getSymbol(StringRef Name) const {
1405 std::map<StringRef, JITEvaluatedSymbol> RuntimeDyld::getSymbolTable() const {
1411 void RuntimeDyld::resolveRelocations() { Dyld->resolveRelocations(); }
1413 void RuntimeDyld::reassignSectionAddress(unsigned SectionID, uint64_t Addr) {
1417 void RuntimeDyld::mapSectionAddress(const void *LocalAddress,
1422 bool RuntimeDyld::hasError() { return Dyld->hasError(); }
1424 StringRef RuntimeDyld::getErrorString() { return Dyld->getErrorString(); }
1426 void RuntimeDyld::finalizeWithMemoryManagerLocking() {
1437 StringRef RuntimeDyld::getSectionContent(unsigned SectionID) const {
1442 uint64_t RuntimeDyld::getSectionLoadAddress(unsigned SectionID) const {
1447 void RuntimeDyld::registerEHFrames() {
1452 void RuntimeDyld::deregisterEHFrames() {
1457 // so that we can re-use RuntimeDyld's implementation without twisting the
1461 RuntimeDyld::MemoryManager &MemMgr, JITSymbolResolver &Resolver,
1464 RuntimeDyld::LoadedObjectInfo &LoadedObj,
1468 std::unique_ptr<RuntimeDyld::LoadedObjectInfo>, Error)>
1471 RuntimeDyld RTDyld(MemMgr, Resolver);