Lines Matching refs:Dyld

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