Mark combined sections as SectionKind::Unknown

This commit is contained in:
2025-05-07 16:45:00 -06:00
parent b77df77000
commit 8b5bf21f38
5 changed files with 62 additions and 63 deletions

View File

@@ -764,7 +764,7 @@ fn do_combine_sections(
line_info.append(&mut section.line_info.iter().map(|(&a, &l)| (a + offset, l)).collect());
section.line_info.clear();
if offset > 0 {
section.flags |= SectionFlag::Hidden;
section.kind = SectionKind::Unknown;
}
}
{