| /llvm-project-15.0.7/bolt/lib/RuntimeLibs/ |
| H A D | HugifyRuntimeLibrary.cpp | 93 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 D | InstrumentationRuntimeLibrary.cpp | 194 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 D | RuntimeLibrary.cpp | 46 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 D | RuntimeDyld.h | 75 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 D | RuntimeLibrary.h | 54 virtual void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld, 66 static void loadLibrary(StringRef LibPath, RuntimeDyld &RTDyld);
|
| H A D | HugifyRuntimeLibrary.h | 33 void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld,
|
| H A D | InstrumentationRuntimeLibrary.h | 38 void link(BinaryContext &BC, StringRef ToolPath, RuntimeDyld &RTDyld,
|
| /llvm-project-15.0.7/bolt/include/bolt/Rewrite/ |
| H A D | RewriteInstance.h | 193 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 D | MachORewriteInstance.h | 40 std::unique_ptr<RuntimeDyld> RTDyld; variable
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | MachORewriteInstance.cpp | 398 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 D | RewriteInstance.cpp | 3144 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 D | RuntimeDyldCOFF.cpp | 35 RuntimeDyldImpl &RTDyld, in LoadedCOFFObjectInfo() argument 37 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedCOFFObjectInfo()
|
| H A D | RuntimeDyld.cpp | 1282 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 D | RuntimeDyldMachO.cpp | 32 LoadedMachOObjectInfo(RuntimeDyldImpl &RTDyld, in LoadedMachOObjectInfo() argument 34 : LoadedObjectInfoHelper(RTDyld, std::move(ObjSecToIDMap)) {} in LoadedMachOObjectInfo()
|
| H A D | RuntimeDyldELF.cpp | 132 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 D | ForwardingMemoryManager.h | 69 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 D | help.test | 7 # HELP: RTDyld Options
|