diff options
Diffstat (limited to 'rust/examples/dwarf/dwarf_import/src/functions.rs')
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/src/functions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<R: Reader<Offset = usize>>( 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_ { |
