Lines Matching defs:COFF
12 #include "llvm/Object/COFF.h"
115 static std::error_code getSymbol(const COFFObjectFile &COFF, uint64_t VA,
117 for (const auto &Symbol : COFF.symbols()) {
149 } else if (!getSymbol(Ctx.COFF, Ctx.COFF.getImageBase() + Displacement,
154 OS << format(" (0x%" PRIX64 ")", Ctx.COFF.getImageBase() + Displacement);
162 OS << format("(0x%" PRIX64 ")", Ctx.COFF.getImageBase() + Displacement);
186 ResolvedSection = Ctx.COFF.getCOFFSection(**SI);
191 getSectionContaining(const COFFObjectFile &COFF, uint64_t VA) {
192 for (const auto &Section : COFF.sections()) {
197 return COFF.getCOFFSection(Section);
333 uint64_t Address = Ctx.COFF.getImageBase() + RF.UnwindInfoOffset;
334 XData = getSectionContaining(Ctx.COFF, Address);
341 if (Error E = Ctx.COFF.getSectionContents(XData, Contents))
342 reportError(std::move(E), Ctx.COFF.getFileName());
355 for (const auto &Section : Ctx.COFF.sections()) {
365 const coff_section *PData = Ctx.COFF.getCOFFSection(Section);
368 if (Error E = Ctx.COFF.getSectionContents(PData, Contents))
369 reportError(std::move(E), Ctx.COFF.getFileName());
380 printRuntimeFunction(Ctx, Ctx.COFF.getCOFFSection(Section),