summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dwarf/dwarf_import/src/die_handlers.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/dwarf/dwarf_import/src/die_handlers.rs b/plugins/dwarf/dwarf_import/src/die_handlers.rs
index cf81b698..59e222bd 100644
--- a/plugins/dwarf/dwarf_import/src/die_handlers.rs
+++ b/plugins/dwarf/dwarf_import/src/die_handlers.rs
@@ -215,11 +215,7 @@ pub(crate) fn handle_pointer<R: ReaderType>(
None
})?;
- if let Some(ntr) = debug_target_type.get_type().get_named_type_reference() {
- Type::named_type_from_type(ntr.name(), &debug_target_type.get_type())
- } else {
- debug_target_type.get_type()
- }
+ debug_target_type.get_type()
}
None => Type::void(),
};