summaryrefslogtreecommitdiff
path: root/rust/examples/dwarf/dwarf_import/src/functions.rs
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-06-05 21:16:03 -0400
committerJosh Ferrell <josh@vector35.com>2024-06-05 21:16:03 -0400
commit8aacc0b27554ddf039b2199e6af0fb34e5c4841d (patch)
tree46caba65a9709b24d70050b6b521c20664d09240 /rust/examples/dwarf/dwarf_import/src/functions.rs
parent44f75abcba5f4ef47cadfc5a6a0763ecb6b75608 (diff)
Fix bugs with importing dwarf function information and greatly improve performance
Diffstat (limited to 'rust/examples/dwarf/dwarf_import/src/functions.rs')
-rw-r--r--rust/examples/dwarf/dwarf_import/src/functions.rs2
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 016c4033..de1400d2 100644
--- a/rust/examples/dwarf/dwarf_import/src/functions.rs
+++ b/rust/examples/dwarf/dwarf_import/src/functions.rs
@@ -75,5 +75,5 @@ pub(crate) fn parse_function_entry<R: Reader<Offset = usize>>(
let address = get_start_address(unit, entry, debug_info_builder_context);
let (parameters, variable_arguments) = get_parameters(unit, entry, debug_info_builder_context, debug_info_builder);
- debug_info_builder.insert_function(full_name, raw_name, return_type, address, parameters, variable_arguments);
+ debug_info_builder.insert_function(full_name, raw_name, return_type, address, &parameters, variable_arguments);
}