diff --git a/crates/synth-core/src/dwarf_line.rs b/crates/synth-core/src/dwarf_line.rs index 7c8a8b00..97409ebe 100644 --- a/crates/synth-core/src/dwarf_line.rs +++ b/crates/synth-core/src/dwarf_line.rs @@ -206,10 +206,14 @@ pub fn emit_debug_sections(table: &[(u64, u32)], text_sym: usize) -> Vec HashMap> { address_size: 4, }; let mut dwarf = DwarfUnit::new(encoding); + // gimli 0.33: (working_dir, source_dir, source_file, source_file_info). let mut program = LineProgram::new( encoding, gimli::LineEncoding::default(), LineString::String(b"/synth".to_vec()), + None, LineString::String(b"dwarf_coherent.rs".to_vec()), None, );