Lines Matching defs:hdr
775 auto *hdr = make<coff_section>();
776 memset(hdr, 0, sizeof(*hdr));
777 strncpy(hdr->Name, name.data(),
783 hdr->Characteristics = sym.getValue() | IMAGE_SCN_ALIGN_4BYTES;
785 hdr->Characteristics = IMAGE_SCN_CNT_INITIALIZED_DATA |
788 auto *sc = make<SectionChunk>(this, hdr);
1144 return hdr->OrdinalHint == other->hdr->OrdinalHint;
1148 switch (hdr->Machine) {
1162 const auto *hdr =
1166 if (mb.getBufferSize() < sizeof(*hdr) ||
1167 mb.getBufferSize() != sizeof(*hdr) + hdr->SizeOfData)
1171 StringRef buf = mb.getBuffer().substr(sizeof(*hdr));
1175 if (isArm64EC(hdr->Machine)) {
1185 switch (hdr->getNameType()) {
1204 this->hdr = hdr;
1207 bool isCode = hdr->getType() == llvm::COFF::IMPORT_CODE;
1238 if (hdr->getType() == llvm::COFF::IMPORT_CONST)