Lines Matching refs:Dyld

371     RuntimeDyld Dyld(MemMgr, MemMgr);  in printLineInfoForInput()  local
399 Dyld.loadObject(Obj); in printLineInfoForInput()
401 if (Dyld.hasError()) in printLineInfoForInput()
402 ErrorAndExit(Dyld.getErrorString()); in printLineInfoForInput()
405 Dyld.resolveRelocations(); in printLineInfoForInput()
502 RuntimeDyld Dyld(MemMgr, MemMgr); in executeInput() local
529 Dyld.loadObject(Obj); in executeInput()
530 if (Dyld.hasError()) { in executeInput()
531 ErrorAndExit(Dyld.getErrorString()); in executeInput()
540 Dyld.resolveRelocations(); in executeInput()
544 void *MainAddress = Dyld.getSymbolLocalAddress(EntryPoint); in executeInput()
597 void applySpecificSectionMappings(RuntimeDyld &Dyld, in applySpecificSectionMappings() argument
614 auto* OldAddr = Dyld.getSectionContent(SectionID).data(); in applySpecificSectionMappings()
622 Dyld.mapSectionAddress(OldAddr, NewAddr); in applySpecificSectionMappings()
638 RuntimeDyld &Dyld, in remapSectionsAndSymbols() argument
664 auto LoadAddr = Dyld.getSectionLoadAddress((*Tmp)->SectionID); in remapSectionsAndSymbols()
702 Dyld.mapSectionAddress(CurEntry->MB.base(), NextSectionAddr); in remapSectionsAndSymbols()
788 RuntimeDyld Dyld(MemMgr, MemMgr); in linkAndVerify() local
789 Dyld.setProcessAllSections(true); in linkAndVerify()
791 Dyld.setNotifyStubEmitted([&StubMap](StringRef FilePath, in linkAndVerify()
801 [&Dyld, &MemMgr]( in linkAndVerify()
806 if (auto InternalSymbol = Dyld.getSymbol(Symbol)) in linkAndVerify()
837 if (auto *SymAddr = Dyld.getSymbolLocalAddress(Symbol)) { in linkAndVerify()
838 unsigned SectionID = Dyld.getSymbolSectionID(Symbol); in linkAndVerify()
841 StringRef SecContent = Dyld.getSectionContent(SectionID); in linkAndVerify()
849 auto IsSymbolValid = [&Dyld, GetSymbolInfo](StringRef Symbol) { in linkAndVerify()
850 if (Dyld.getSymbol(Symbol)) in linkAndVerify()
862 auto GetSectionInfo = [&Dyld, &FileToSecIDMap](StringRef FileName, in linkAndVerify()
869 SecInfo.setTargetAddress(Dyld.getSectionLoadAddress(*SectionID)); in linkAndVerify()
870 SecInfo.setContent(Dyld.getSectionContent(*SectionID)); in linkAndVerify()
874 auto GetStubInfo = [&Dyld, &StubMap](StringRef StubContainer, in linkAndVerify()
887 StubMemInfo.setTargetAddress(Dyld.getSectionLoadAddress(SI.SectionID) + in linkAndVerify()
890 Dyld.getSectionContent(SI.SectionID).substr(SI.Offset)); in linkAndVerify()
932 Dyld.loadObject(Obj); in linkAndVerify()
933 if (Dyld.hasError()) { in linkAndVerify()
934 ErrorAndExit(Dyld.getErrorString()); in linkAndVerify()
940 applySpecificSectionMappings(Dyld, FileToSecIDMap); in linkAndVerify()
941 remapSectionsAndSymbols(TheTriple, Dyld, MemMgr); in linkAndVerify()
944 Dyld.resolveRelocations(); in linkAndVerify()
947 Dyld.registerEHFrames(); in linkAndVerify()
950 if (Dyld.hasError()) in linkAndVerify()
952 Dyld.getErrorString()); in linkAndVerify()