Merge commit '659243d85c7489412bd0faa1c068d904a6042941' into sync_cg_clif-2024-07-13
This commit is contained in:
@@ -39,7 +39,13 @@ impl WriteDebugInfo for ObjectProduct {
|
||||
let section_id = self.object.add_section(
|
||||
segment,
|
||||
name,
|
||||
if id == SectionId::EhFrame { SectionKind::ReadOnlyData } else { SectionKind::Debug },
|
||||
if id == SectionId::DebugStr || id == SectionId::DebugLineStr {
|
||||
SectionKind::DebugString
|
||||
} else if id == SectionId::EhFrame {
|
||||
SectionKind::ReadOnlyData
|
||||
} else {
|
||||
SectionKind::Debug
|
||||
},
|
||||
);
|
||||
self.object
|
||||
.section_mut(section_id)
|
||||
|
||||
Reference in New Issue
Block a user