From c0c145ff7286d99edbd4b367bca4e228cae1a3ac Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Wed, 23 Aug 2023 12:53:23 -0400 Subject: DWARF Import : More optimizations --- rust/examples/dwarf/dwarf_import/src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/examples/dwarf/dwarf_import/src/functions.rs') diff --git a/rust/examples/dwarf/dwarf_import/src/functions.rs b/rust/examples/dwarf/dwarf_import/src/functions.rs index 652bb8a5..127ec6f4 100644 --- a/rust/examples/dwarf/dwarf_import/src/functions.rs +++ b/rust/examples/dwarf/dwarf_import/src/functions.rs @@ -39,7 +39,7 @@ fn get_parameters>( while let Some(child) = children.next().unwrap() { match child.entry().tag() { constants::DW_TAG_formal_parameter => { - let name = get_name(dwarf, unit, child.entry()); + let name = debug_info_builder.get_name(dwarf, unit, child.entry()); let type_ = get_type(dwarf, unit, child.entry(), debug_info_builder); if let Some(parameter_name) = name { if let Some(parameter_type) = type_ { -- cgit v1.3.1