Lines Matching refs:Obj

37   getObjectForDebug(const ObjectFile &Obj) const override {  in getObjectForDebug()
59 const MachOObjectFile &Obj = in processScatteredVANILLA() local
62 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA()
65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
66 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
67 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
73 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
74 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
75 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); in processScatteredVANILLA()
81 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID)) in processScatteredVANILLA()
101 const MachOObjectFile &Obj = in getRelocationValueRef() local
104 Obj.getRelocation(RI->getRawDataRefImpl()); in getRelocationValueRef()
107 bool IsExternal = Obj.getPlainRelocationExternal(RelInfo); in getRelocationValueRef()
126 SectionRef Sec = Obj.getAnyRelocationSection(RelInfo); in getRelocationValueRef()
128 if (auto SectionIDOrErr = findOrEmitSection(Obj, Sec, IsCode, in getRelocationValueRef()
163 RuntimeDyldMachO::getSectionByAddress(const MachOObjectFile &Obj, in getSectionByAddress() argument
165 section_iterator SI = Obj.section_begin(); in getSectionByAddress()
166 section_iterator SE = Obj.section_end(); in getSectionByAddress()
181 const MachOObjectFile &Obj, in populateIndirectSymbolPointersSection() argument
184 assert(!Obj.is64Bit() && in populateIndirectSymbolPointersSection()
187 MachO::dysymtab_command DySymTabCmd = Obj.getDysymtabLoadCommand(); in populateIndirectSymbolPointersSection()
188 MachO::section Sec32 = Obj.getSection(PTSection.getRawDataRefImpl()); in populateIndirectSymbolPointersSection()
205 Obj.getIndirectSymbolTableEntry(DySymTabCmd, FirstIndirectSymbol + i); in populateIndirectSymbolPointersSection()
206 symbol_iterator SI = Obj.getSymbolByIndex(SymbolIndex); in populateIndirectSymbolPointersSection()
222 bool RuntimeDyldMachO::isCompatibleFile(const object::ObjectFile &Obj) const { in isCompatibleFile()
223 return Obj.isMachO(); in isCompatibleFile()
228 RuntimeDyldMachOCRTPBase<Impl>::finalizeLoad(const ObjectFile &Obj, in finalizeLoad() argument
234 for (const auto &Section : Obj.sections()) { in finalizeLoad()
245 if (auto TextSIDOrErr = findOrEmitSection(Obj, Section, true, SectionMap)) in finalizeLoad()
250 if (auto EHFrameSIDOrErr = findOrEmitSection(Obj, Section, false, in finalizeLoad()
256 if (auto ExceptTabSIDOrErr = findOrEmitSection(Obj, Section, true, in finalizeLoad()
264 if (auto Err = impl().finalizeSection(Obj, I->second, Section)) in finalizeLoad()