Handle more CompileUnit attributes in DWARF (#38)

* Handle more DWARF CompileUnit attributes

Handle comp_dir and add two unknown attributes

* Remove comment about unknown attributes
This commit is contained in:
1superchip
2024-02-19 17:13:35 -06:00
committed by GitHub
parent 9a6cb70ff8
commit 2784859c4f
2 changed files with 13 additions and 1 deletions

View File

@@ -199,6 +199,9 @@ where
if let Some(producer) = unit.producer {
writeln!(w, " Producer: {}", producer)?;
}
if let Some(comp_dir) = unit.comp_dir {
writeln!(w, " Compile directory: {}", comp_dir)?;
}
if let Some(language) = unit.language {
writeln!(w, " Language: {}", language)?;
}