Lines Matching defs:Dyld

421     RuntimeDyld Dyld(MemMgr, MemMgr);
449 Dyld.loadObject(Obj);
451 if (Dyld.hasError())
452 ErrorAndExit(Dyld.getErrorString());
455 Dyld.resolveRelocations();
553 RuntimeDyld Dyld(MemMgr, MemMgr);
580 Dyld.loadObject(Obj);
581 if (Dyld.hasError()) {
582 ErrorAndExit(Dyld.getErrorString());
591 Dyld.resolveRelocations();
595 void *MainAddress = Dyld.getSymbolLocalAddress(EntryPoint);
648 void applySpecificSectionMappings(RuntimeDyld &Dyld,
665 auto* OldAddr = Dyld.getSectionContent(SectionID).data();
673 Dyld.mapSectionAddress(OldAddr, NewAddr);
689 RuntimeDyld &Dyld,
715 auto LoadAddr = Dyld.getSectionLoadAddress((*Tmp)->SectionID);
753 Dyld.mapSectionAddress(CurEntry->MB.base(), NextSectionAddr);
839 RuntimeDyld Dyld(MemMgr, MemMgr);
840 Dyld.setProcessAllSections(true);
842 Dyld.setNotifyStubEmitted([&StubMap](StringRef FilePath,
852 [&Dyld, &MemMgr](
857 if (auto InternalSymbol = Dyld.getSymbol(Symbol))
888 if (auto *SymAddr = Dyld.getSymbolLocalAddress(Symbol)) {
889 unsigned SectionID = Dyld.getSymbolSectionID(Symbol);
892 StringRef SecContent = Dyld.getSectionContent(SectionID);
896 Dyld.getSymbol(Symbol).getFlags().getTargetFlags());
902 auto IsSymbolValid = [&Dyld, GetSymbolInfo](StringRef Symbol) {
903 if (Dyld.getSymbol(Symbol))
915 auto GetSectionInfo = [&Dyld, &FileToSecIDMap](StringRef FileName,
922 SecInfo.setTargetAddress(Dyld.getSectionLoadAddress(*SectionID));
923 StringRef SecContent = Dyld.getSectionContent(*SectionID);
928 auto GetStubInfo = [&Dyld, &StubMap](StringRef StubContainer,
942 StubMemInfo.setTargetAddress(Dyld.getSectionLoadAddress(SI.SectionID) +
945 Dyld.getSectionContent(SI.SectionID).substr(SI.Offset);
995 Dyld.loadObject(Obj);
996 if (Dyld.hasError()) {
997 ErrorAndExit(Dyld.getErrorString());
1003 applySpecificSectionMappings(Dyld, FileToSecIDMap);
1004 remapSectionsAndSymbols(TheTriple, Dyld, MemMgr);
1007 Dyld.resolveRelocations();
1010 Dyld.registerEHFrames();
1013 if (Dyld.hasError())
1015 Dyld.getErrorString());