Also mark .debug_line_str as mergeable strings

This commit is contained in:
bjorn3 2024-07-01 08:18:34 +00:00
parent 7a1601553d
commit 126fd7c31d

View File

@ -39,7 +39,7 @@ impl WriteDebugInfo for ObjectProduct {
let section_id = self.object.add_section(
segment,
name,
if id == SectionId::DebugStr {
if id == SectionId::DebugStr || id == SectionId::DebugLineStr {
SectionKind::DebugString
} else if id == SectionId::EhFrame {
SectionKind::ReadOnlyData