Lines Matching refs:Obj

39     const MachOObjectFile &Obj =  in processRelocationRef()  local
42 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef()
43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); in processRelocationRef()
45 if (Obj.isRelocationScattered(RelInfo)) { in processRelocationRef()
48 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
51 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
68 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
71 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
129 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
135 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
137 return populateIndirectSymbolPointersSection(cast<MachOObjectFile>(Obj), in finalizeSection()
147 const MachOObjectFile &Obj = in processSECTDIFFRelocation() local
150 Obj.getRelocation(RelI->getRawDataRefImpl()); in processSECTDIFFRelocation()
153 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation()
154 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processSECTDIFFRelocation()
155 unsigned Size = Obj.getAnyRelocationLength(RE); in processSECTDIFFRelocation()
163 Obj.getRelocation(RelI->getRawDataRefImpl()); in processSECTDIFFRelocation()
165 uint32_t AddrA = Obj.getScatteredRelocationValue(RE); in processSECTDIFFRelocation()
166 section_iterator SAI = getSectionByAddress(Obj, AddrA); in processSECTDIFFRelocation()
167 assert(SAI != Obj.section_end() && "Can't find section for address A"); in processSECTDIFFRelocation()
174 findOrEmitSection(Obj, SectionA, IsCode, ObjSectionToID)) in processSECTDIFFRelocation()
179 uint32_t AddrB = Obj.getScatteredRelocationValue(RE2); in processSECTDIFFRelocation()
180 section_iterator SBI = getSectionByAddress(Obj, AddrB); in processSECTDIFFRelocation()
181 assert(SBI != Obj.section_end() && "Can't find section for address B"); in processSECTDIFFRelocation()
187 findOrEmitSection(Obj, SectionB, IsCode, ObjSectionToID)) in processSECTDIFFRelocation()
210 Error populateJumpTable(const MachOObjectFile &Obj, in populateJumpTable() argument
213 MachO::dysymtab_command DySymTabCmd = Obj.getDysymtabLoadCommand(); in populateJumpTable()
214 MachO::section Sec32 = Obj.getSection(JTSection.getRawDataRefImpl()); in populateJumpTable()
228 Obj.getIndirectSymbolTableEntry(DySymTabCmd, FirstIndirectSymbol + i); in populateJumpTable()
229 symbol_iterator SI = Obj.getSymbolByIndex(SymbolIndex); in populateJumpTable()