summaryrefslogtreecommitdiff
path: root/plugins/dwarf
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-04-10 16:39:26 -0400
committerMason Reed <mason@vector35.com>2025-04-10 17:19:34 -0400
commit1973b852a1ffc2ea3e050d078a6f2b9933c199a1 (patch)
tree3f5fb2c328dd65ea2dff7b80de1b3e89d87d301e /plugins/dwarf
parent2c79a0458cd5bc7af0264d18d8ca2fc1a7894228 (diff)
Fix function type construction leaking in Rust API
Diffstat (limited to 'plugins/dwarf')
-rw-r--r--plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs
index 672bdf68..604867f5 100644
--- a/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs
+++ b/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs
@@ -581,7 +581,7 @@ impl DebugInfoBuilder {
for function in self.functions() {
// let calling_convention: Option<Ref<CallingConvention<CoreArchitecture>>> = None;
- debug_info.add_function(DebugFunctionInfo::new(
+ debug_info.add_function(&DebugFunctionInfo::new(
function.full_name.clone(),
function.full_name.clone(), // TODO : This should eventually be changed, but the "full_name" should probably be the unsimplified version, and the "short_name" should be the simplified version...currently the symbols view shows the full version, so changing it here too makes it look bad in the UI
function.raw_name.clone(),