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 @@ fn add_debug_section(
let section_id = self.object.add_section( let section_id = self.object.add_section(
segment, segment,
name, name,
if id == SectionId::DebugStr { if id == SectionId::DebugStr || id == SectionId::DebugLineStr {
SectionKind::DebugString SectionKind::DebugString
} else if id == SectionId::EhFrame { } else if id == SectionId::EhFrame {
SectionKind::ReadOnlyData SectionKind::ReadOnlyData