Home
last modified time | relevance | path

Searched refs:RTDyld (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DHugifyRuntimeLibrary.cpp93 RuntimeDyld &RTDyld, in link() argument
96 loadLibrary(LibPath, RTDyld); in link()
97 OnLoad(RTDyld); in link()
98 RTDyld.finalizeWithMemoryManagerLocking(); in link()
99 if (RTDyld.hasError()) { in link()
100 outs() << "BOLT-ERROR: RTDyld failed: " << RTDyld.getErrorString() << "\n"; in link()
106 RuntimeStartAddress = RTDyld.getSymbol("__bolt_hugify_self").getAddress(); in link()
H A DInstrumentationRuntimeLibrary.cpp194 BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld, in link() argument
197 loadLibrary(LibPath, RTDyld); in link()
198 OnLoad(RTDyld); in link()
199 RTDyld.finalizeWithMemoryManagerLocking(); in link()
200 if (RTDyld.hasError()) { in link()
201 outs() << "BOLT-ERROR: RTDyld failed: " << RTDyld.getErrorString() << "\n"; in link()
208 RuntimeFiniAddress = RTDyld.getSymbol("__bolt_instr_fini").getAddress(); in link()
215 RuntimeStartAddress = RTDyld.getSymbol("__bolt_instr_start").getAddress(); in link()
227 RTDyld.getSymbol("__bolt_instr_clear_counters").getAddress()) in link()
H A DRuntimeLibrary.cpp46 void RuntimeLibrary::loadLibrary(StringRef LibPath, RuntimeDyld &RTDyld) { in loadLibrary() argument
59 RTDyld.loadObject(*Obj); in loadLibrary()
67 RTDyld.loadObject(*Obj); in loadLibrary()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h75 LoadedObjectInfo(RuntimeDyldImpl &RTDyld, ObjSectionToIDMap ObjSecToIDMap) in LoadedObjectInfo() argument
76 : RTDyld(RTDyld), ObjSecToIDMap(std::move(ObjSecToIDMap)) {} in LoadedObjectInfo()
87 RuntimeDyldImpl &RTDyld; variable
183 virtual void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded() argument
/llvm-project-15.0.7/bolt/include/bolt/RuntimeLibs/
H A DRuntimeLibrary.h54 virtual void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld,
66 static void loadLibrary(StringRef LibPath, RuntimeDyld &RTDyld);
H A DHugifyRuntimeLibrary.h33 void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld,
H A DInstrumentationRuntimeLibrary.h38 void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld,
/llvm-project-15.0.7/bolt/include/bolt/Rewrite/
H A DRewriteInstance.h193 void mapCodeSections(RuntimeDyld &RTDyld);
194 void mapDataSections(RuntimeDyld &RTDyld);
195 void mapFileSections(RuntimeDyld &RTDyld);
196 void mapExtraSections(RuntimeDyld &RTDyld);
437 std::unique_ptr<RuntimeDyld> RTDyld; variable
H A DMachORewriteInstance.h40 std::unique_ptr<RuntimeDyld> RTDyld; variable
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp398 RTDyld->reassignSectionAddress(Section->getSectionID(), in mapInstrumentationSection()
419 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()
441 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), Addr); in mapCodeSections()
512 RTDyld.reset(new decltype(RTDyld)::element_type(*BC->EFMM, Resolver)); in emitAndLink()
513 RTDyld->setProcessAllSections(true); in emitAndLink()
514 RTDyld->loadObject(*Obj); in emitAndLink()
515 if (RTDyld->hasError()) { in emitAndLink()
H A DRewriteInstance.cpp3144 RTDyld.reset(new decltype(RTDyld)::element_type(*BC->EFMM, Resolver)); in emitAndLink()
3145 RTDyld->setProcessAllSections(false); in emitAndLink()
3146 RTDyld->loadObject(*Obj); in emitAndLink()
3152 mapFileSections(*RTDyld); in emitAndLink()
3154 RTDyld->finalizeWithMemoryManagerLocking(); in emitAndLink()
3155 if (RTDyld->hasError()) { in emitAndLink()
3169 this->mapExtraSections(*RTDyld); in emitAndLink()
3553 mapCodeSections(RTDyld); in mapFileSections()
3554 mapDataSections(RTDyld); in mapFileSections()
3859 RTDyld.reassignSectionAddress(Section.getSectionID(), in mapExtraSections()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp35 RuntimeDyldImpl &RTDyld, in LoadedCOFFObjectInfo() argument
37 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedCOFFObjectInfo()
H A DRuntimeDyld.cpp1282 return RTDyld.Sections[I->second].getLoadAddress(); in getSectionLoadAddress()
1461 RuntimeDyld RTDyld(MemMgr, Resolver); in jitLinkForORC() local
1462 RTDyld.setProcessAllSections(ProcessAllSections); in jitLinkForORC()
1464 auto Info = RTDyld.loadObject(*O.getBinary()); in jitLinkForORC()
1466 if (RTDyld.hasError()) { in jitLinkForORC()
1468 make_error<StringError>(RTDyld.getErrorString(), in jitLinkForORC()
1473 if (auto Err = OnLoaded(*O.getBinary(), *Info, RTDyld.getSymbolTable())) in jitLinkForORC()
1476 RuntimeDyldImpl::finalizeAsync(std::move(RTDyld.Dyld), std::move(OnEmitted), in jitLinkForORC()
H A DRuntimeDyldMachO.cpp32 LoadedMachOObjectInfo(RuntimeDyldImpl &RTDyld, in LoadedMachOObjectInfo() argument
34 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedMachOObjectInfo()
H A DRuntimeDyldELF.cpp132 LoadedELFObjectInfo(RuntimeDyldImpl &RTDyld, ObjSectionToIDMap ObjSecToIDMap) in LoadedELFObjectInfo() argument
133 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedELFObjectInfo()
/llvm-project-15.0.7/llvm/tools/lli/
H A DForwardingMemoryManager.h69 void notifyObjectLoaded(RuntimeDyld &RTDyld, in notifyObjectLoaded() argument
71 MemMgr->notifyObjectLoaded(RTDyld, Obj); in notifyObjectLoaded()
/llvm-project-15.0.7/llvm/test/tools/llvm-rtdyld/
H A Dhelp.test7 # HELP: RTDyld Options