Lines Matching refs:Obj
38 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
60 const MachOObjectFile &Obj = in processScatteredVANILLA() local
63 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA()
66 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
67 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
68 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
74 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
75 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
76 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); in processScatteredVANILLA()
82 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID)) in processScatteredVANILLA()
102 const MachOObjectFile &Obj = in getRelocationValueRef() local
105 Obj.getRelocation(RI->getRawDataRefImpl()); in getRelocationValueRef()
108 bool IsExternal = Obj.getPlainRelocationExternal(RelInfo); in getRelocationValueRef()
127 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
129 if (auto SectionIDOrErr = findOrEmitSection(Obj, Sec, IsCode, in getRelocationValueRef()
164 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() argument
166 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
167 section_iterator SE = Obj.section_end(); in getSectionByAddress()
182 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection() argument
185 assert(!Obj.is64Bit() && in populateIndirectSymbolPointersSection()
188 MachO::dysymtab_command DySymTabCmd = Obj.getDysymtabLoadCommand(); in populateIndirectSymbolPointersSection()
189 MachO::section Sec32 = Obj.getSection(PTSection.getRawDataRefImpl()); in populateIndirectSymbolPointersSection()
206 Obj.getIndirectSymbolTableEntry(DySymTabCmd, FirstIndirectSymbol + i); in populateIndirectSymbolPointersSection()
207 symbol_iterator SI = Obj.getSymbolByIndex(SymbolIndex); in populateIndirectSymbolPointersSection()
223 bool RuntimeDyldMachO::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
224 return Obj.isMachO(); in isCompatibleFile()
229 RuntimeDyldMachOCRTPBase<Impl>::finalizeLoad(const ObjectFile &Obj, in finalizeLoad() argument
235 for (const auto &Section : Obj.sections()) { in finalizeLoad()
243 if (auto TextSIDOrErr = findOrEmitSection(Obj, Section, true, SectionMap)) in finalizeLoad()
248 if (auto EHFrameSIDOrErr = findOrEmitSection(Obj, Section, false, in finalizeLoad()
254 if (auto ExceptTabSIDOrErr = findOrEmitSection(Obj, Section, true, in finalizeLoad()
262 if (auto Err = impl().finalizeSection(Obj, I->second, Section)) in finalizeLoad()