Home | History | Annotate | Download | only in llvm-readobj

Lines Matching full:coff

187 Decoder::getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {
188 for (const auto &Section : COFF.sections()) {
198 ErrorOr<object::SymbolRef> Decoder::getSymbol(const COFFObjectFile &COFF,
200 for (const auto &Symbol : COFF.symbols()) {
512 bool Decoder::dumpXDataRecord(const COFFObjectFile &COFF,
516 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
569 getRelocatedSymbol(COFF, Section, HandlerOffset * sizeof(uint32_t));
571 Symbol = getSymbol(COFF, Address, /*FunctionOnly=*/true);
590 bool Decoder::dumpUnpackedEntry(const COFFObjectFile &COFF,
596 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
598 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
600 ErrorOr<SymbolRef> XDataRecord = getRelocatedSymbol(COFF, Section, Offset + 4);
602 XDataRecord = getSymbol(COFF, RF.ExceptionInformationRVA());
632 if (COFF.getPE32Header(PEHeader))
669 return dumpXDataRecord(COFF, *SI, FunctionAddress, Address);
672 if (COFF.getPE32Header(PEHeader))
679 getSectionContaining(COFF, RF.ExceptionInformationRVA());
683 return dumpXDataRecord(COFF, *Section, FunctionAddress,
688 bool Decoder::dumpPackedEntry(const object::COFFObjectFile &COFF,
695 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
697 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
722 if (COFF.getPE32Header(PEHeader))
741 bool Decoder::dumpProcedureDataEntry(const COFFObjectFile &COFF,
751 return dumpUnpackedEntry(COFF, Section, Offset, Index, Entry);
752 return dumpPackedEntry(COFF, Section, Offset, Index, Entry);
755 void Decoder::dumpProcedureData(const COFFObjectFile &COFF,
758 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
767 if (!dumpProcedureDataEntry(COFF, Section, EI, Contents))
771 std::error_code Decoder::dumpProcedureData(const COFFObjectFile &COFF) {
772 for (const auto &Section : COFF.sections()) {
775 COFF.getSectionName(COFF.getCOFFSection(Section), SectionName))
779 dumpProcedureData(COFF, Section);