From 126fd7c31d1b7fdeeb486f4ad3d68489a8b13922 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Mon, 1 Jul 2024 08:18:34 +0000 Subject: [PATCH] Also mark .debug_line_str as mergeable strings --- src/debuginfo/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debuginfo/object.rs b/src/debuginfo/object.rs index 7c873515a8f..1c6e471cc87 100644 --- a/src/debuginfo/object.rs +++ b/src/debuginfo/object.rs @@ -39,7 +39,7 @@ fn add_debug_section( 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