diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-02-06 17:00:44 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-02-06 17:00:44 -0500 |
| commit | 9b7604d13e8bd98c6998facb9326926ed96281b5 (patch) | |
| tree | 558421683860c1e72241bf472f76071220c79637 /plugins/dwarf | |
| parent | fc9c291b86beb1650dc9a67051f6f64439adf879 (diff) | |
[DWARF Import] Do not wrap pointer types in named type references
Diffstat (limited to 'plugins/dwarf')
| -rw-r--r-- | plugins/dwarf/dwarf_import/src/die_handlers.rs | 6 |
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(), }; |
