const MCSection *
MCObjectFileInfo::getDwarfTypesDWOSection(uint64_t Hash) const {
- return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_GROUP, 0,
- SectionKind::getMetadata(), 0, utostr(Hash));
+ return Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS,
+ ELF::SHF_GROUP, SectionKind::getMetadata(), 0,
+ utostr(Hash));
}
void MCObjectFileInfo::InitEHFrameSection() {