• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/

Lines Matching refs:Dyld

371     RuntimeDyld Dyld(MemMgr, MemMgr);
399 Dyld.loadObject(Obj);
401 if (Dyld.hasError())
402 ErrorAndExit(Dyld.getErrorString());
405 Dyld.resolveRelocations();
502 RuntimeDyld Dyld(MemMgr, MemMgr);
529 Dyld.loadObject(Obj);
530 if (Dyld.hasError()) {
531 ErrorAndExit(Dyld.getErrorString());
540 Dyld.resolveRelocations();
544 void *MainAddress = Dyld.getSymbolLocalAddress(EntryPoint);
597 void applySpecificSectionMappings(RuntimeDyld &Dyld,
614 auto* OldAddr = Dyld.getSectionContent(SectionID).data();
622 Dyld.mapSectionAddress(OldAddr, NewAddr);
638 RuntimeDyld &Dyld,
664 auto LoadAddr = Dyld.getSectionLoadAddress((*Tmp)->SectionID);
702 Dyld.mapSectionAddress(CurEntry->MB.base(), NextSectionAddr);
786 RuntimeDyld Dyld(MemMgr, MemMgr);
787 Dyld.setProcessAllSections(true);
789 Dyld.setNotifyStubEmitted([&StubMap](StringRef FilePath,
799 [&Dyld, &MemMgr](
804 if (auto InternalSymbol = Dyld.getSymbol(Symbol))
835 if (auto *SymAddr = Dyld.getSymbolLocalAddress(Symbol)) {
836 unsigned SectionID = Dyld.getSymbolSectionID(Symbol);
839 StringRef SecContent = Dyld.getSectionContent(SectionID);
847 auto IsSymbolValid = [&Dyld, GetSymbolInfo](StringRef Symbol) {
848 if (Dyld.getSymbol(Symbol))
860 auto GetSectionInfo = [&Dyld, &FileToSecIDMap](StringRef FileName,
867 SecInfo.setTargetAddress(Dyld.getSectionLoadAddress(*SectionID));
868 SecInfo.setContent(Dyld.getSectionContent(*SectionID));
872 auto GetStubInfo = [&Dyld, &StubMap](StringRef StubContainer,
885 StubMemInfo.setTargetAddress(Dyld.getSectionLoadAddress(SI.SectionID) +
888 Dyld.getSectionContent(SI.SectionID).substr(SI.Offset));
930 Dyld.loadObject(Obj);
931 if (Dyld.hasError()) {
932 ErrorAndExit(Dyld.getErrorString());
938 applySpecificSectionMappings(Dyld, FileToSecIDMap);
939 remapSectionsAndSymbols(TheTriple, Dyld, MemMgr);
942 Dyld.resolveRelocations();
945 Dyld.registerEHFrames();
948 if (Dyld.hasError())
950 Dyld.getErrorString());