summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
index 3f9f8faa..7ab5775a 100644
--- a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
+++ b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs
@@ -249,7 +249,8 @@ impl DebugInfoBuilder {
}
if raw_name.is_none() && full_name.is_none() {
- unreachable!("Function entry in DWARF without full or raw name. Please report this issue.");
+ error!("Function entry in DWARF without full or raw name. Please report this issue.");
+ return;
}
let function = FunctionInfoBuilder {