Skip to content
Snippets Groups Projects
Unverified Commit 6ce5711a authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Merge the new upstream version into debian/unstable

parents cbbb9698 2ca08220
No related branches found
No related tags found
No related merge requests found
......@@ -82,9 +82,12 @@ fn list_entries<R: Reader>(
.transpose()?
.ok_or_else(|| anyhow!("Missing DW_AT_comp_dir"))?;
let at_name = entry
.attr(gimli::DW_AT_name)?
.ok_or_else(|| anyhow!("Missing DW_AT_name"))?;
let at_name = if let Some(it) = entry.attr(gimli::DW_AT_name)? {
it
} else {
eprintln!("Warning: unit without name, skipping it");
continue;
};
if let Some(r) = at_name.string_value(debug_str) {
let comp_name = r.to_string()?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment