We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56877b1 commit 9ab2eb5Copy full SHA for 9ab2eb5
rust/examples/dwarf/dwarf_import/src/lib.rs
@@ -468,7 +468,7 @@ fn parse_dwarf(
468
// TODO : Make this more robust...some DWOs follow non-DWO conventions
469
470
// Figure out if it's the given view or the raw view that has the dwarf info in it
471
- let raw_view = &debug_bv.raw_view().unwrap();
+ let raw_view = &debug_bv.raw_view()?;
472
let view = if is_dwo_dwarf(debug_bv) || is_non_dwo_dwarf(debug_bv) {
473
debug_bv
474
} else {
0 commit comments