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

Lines Matching refs: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()) {
509 bool Decoder::dumpXDataRecord(const COFFObjectFile &COFF,
513 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
566 getRelocatedSymbol(COFF, Section, HandlerOffset * sizeof(uint32_t));
568 Symbol = getSymbol(COFF, Address, /*FunctionOnly=*/true);
582 bool Decoder::dumpUnpackedEntry(const COFFObjectFile &COFF,
588 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
590 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
592 ErrorOr<SymbolRef> XDataRecord = getRelocatedSymbol(COFF, Section, Offset + 4);
594 XDataRecord = getSymbol(COFF, RF.ExceptionInformationRVA());
614 if (COFF.getPE32Header(PEHeader))
638 return dumpXDataRecord(COFF, *SI, FunctionAddress, Address);
641 if (COFF.getPE32Header(PEHeader))
648 getSectionContaining(COFF, RF.ExceptionInformationRVA());
652 return dumpXDataRecord(COFF, *Section, FunctionAddress,
657 bool Decoder::dumpPackedEntry(const object::COFFObjectFile &COFF,
664 ErrorOr<SymbolRef> Function = getRelocatedSymbol(COFF, Section, Offset);
666 Function = getSymbol(COFF, RF.BeginAddress, /*FunctionOnly=*/true);
679 if (COFF.getPE32Header(PEHeader))
698 bool Decoder::dumpProcedureDataEntry(const COFFObjectFile &COFF,
708 return dumpUnpackedEntry(COFF, Section, Offset, Index, Entry);
709 return dumpPackedEntry(COFF, Section, Offset, Index, Entry);
712 void Decoder::dumpProcedureData(const COFFObjectFile &COFF,
715 if (COFF.getSectionContents(COFF.getCOFFSection(Section), Contents))
724 if (!dumpProcedureDataEntry(COFF, Section, EI, Contents))
728 std::error_code Decoder::dumpProcedureData(const COFFObjectFile &COFF) {
729 for (const auto &Section : COFF.sections()) {
732 COFF.getSectionName(COFF.getCOFFSection(Section), SectionName))
736 dumpProcedureData(COFF, Section);