Lines Matching refs:Obj

45   COFFDumper(const llvm::object::COFFObjectFile *Obj, StreamWriter& Writer)
47 , Obj(Obj) {
95 const llvm::object::COFFObjectFile *Obj;
105 error_code createCOFFDumper(const object::ObjectFile *Obj,
108 const COFFObjectFile *COFFObj = dyn_cast<COFFObjectFile>(Obj);
179 static error_code resolveSectionAndAddress(const COFFObjectFile *Obj,
186 section_iterator iter(Obj->begin_sections());
190 ResolvedSection = Obj->getCOFFSection(iter);
470 static error_code getSymbolAuxData(const COFFObjectFile *Obj,
472 ArrayRef<uint8_t> AuxData = Obj->getSymbolAuxData(Symbol);
511 if (error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
513 if (error_code EC = Obj->getSectionContents(Section, Contents))
529 if (error_code EC = resolveSectionAndAddress(Obj, Sym, Section, Addr))
542 for (section_iterator SecI = Obj->begin_sections(),
543 SecE = Obj->end_sections();
548 const coff_section *Section = Obj->getCOFFSection(SecI);
567 if (Obj->getDataDirectory(Index, Data))
576 if (error(Obj->getCOFFHeader(COFFHeader)))
599 if (error(Obj->getPE32Header(PEHeader)))
656 for (section_iterator SecI = Obj->begin_sections(),
657 SecE = Obj->end_sections();
663 const coff_section *Section = Obj->getCOFFSection(SecI);
697 for (symbol_iterator SymI = Obj->begin_symbols(),
698 SymE = Obj->end_symbols();
724 for (section_iterator SecI = Obj->begin_sections(),
725 SecE = Obj->end_sections();
789 for (symbol_iterator SymI = Obj->begin_symbols(),
790 SymE = Obj->end_symbols();
805 const coff_symbol *Symbol = Obj->getCOFFSymbol(SymI);
807 if (error_code EC = Obj->getSection(Symbol->SectionNumber, Section)) {
814 if (Obj->getSymbolName(Symbol, SymbolName))
819 Obj->getSectionName(Section, SectionName);
837 if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
853 if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
859 if ((EC = Obj->getSymbol(Aux->TagIndex, Linked)) ||
860 (EC = Obj->getSymbolName(Linked, LinkedName))) {
873 if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
883 if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
900 if ((EC = Obj->getSection(Aux->Number, Assoc)) ||
901 (EC = Obj->getSectionName(Assoc, AssocName))) {
910 if (error(getSymbolAuxData(Obj, Symbol + I, Aux)))
927 if (error(Obj->getCOFFHeader(Header)))
942 for (section_iterator SecI = Obj->begin_sections(),
943 SecE = Obj->end_sections();
953 const coff_section *PData = Obj->getCOFFSection(SecI);
956 if (error(Obj->getSectionContents(PData, Contents)) ||
992 if (error(Obj->getSectionContents(XData, XContents)) || XContents.empty())