Lines Matching defs:hdr
842 const auto *hdr = reinterpret_cast<const coff_import_header *>(buf);
845 if (mb.getBufferSize() != sizeof(*hdr) + hdr->SizeOfData)
849 StringRef name = saver.save(StringRef(buf + sizeof(*hdr)));
854 switch (hdr->getNameType()) {
870 this->hdr = hdr;
879 if (hdr->getType() == llvm::COFF::IMPORT_CONST)
885 if (hdr->getType() == llvm::COFF::IMPORT_CODE)
887 name, cast_or_null<DefinedImportData>(impSym), hdr->Machine);