Lines Matching refs:Obj
160 static error_code resolveSectionAndAddress(const COFFObjectFile *Obj,
165 section_iterator iter(Obj->begin_sections());
167 ResolvedSection = Obj->getCOFFSection(iter);
192 static error_code getSectionContents(const COFFObjectFile *Obj,
200 if (error_code ec = resolveSectionAndAddress(Obj, Sym, Section, Addr))
202 if (error_code ec = Obj->getSectionContents(Section, Contents)) return ec;
230 void llvm::printCOFFUnwindInfo(const COFFObjectFile *Obj) {
232 if (error(Obj->getCOFFHeader(Header))) return;
243 for (section_iterator SI = Obj->begin_sections(),
244 SE = Obj->end_sections();
253 Pdata = Obj->getCOFFSection(SI);
266 if (error(Obj->getSectionContents(Pdata, Contents))) continue;
298 if (error(getSectionContents(Obj, Rels, SectionOffset +