Skip to content

Commit 126fd7c

Browse files
committed
Also mark .debug_line_str as mergeable strings
1 parent 7a16015 commit 126fd7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debuginfo/object.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ impl WriteDebugInfo for ObjectProduct {
3939
let section_id = self.object.add_section(
4040
segment,
4141
name,
42-
if id == SectionId::DebugStr {
42+
if id == SectionId::DebugStr || id == SectionId::DebugLineStr {
4343
SectionKind::DebugString
4444
} else if id == SectionId::EhFrame {
4545
SectionKind::ReadOnlyData

0 commit comments

Comments
 (0)