From 0493db09dee436a9ecb9009ae7222dccefd3d5e3 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Fri, 18 Apr 2025 15:46:27 -0400 Subject: Various DWARF fixes - Do not add binary base to function address twice when a symbol with that function's raw name already exists - Load eh_frame/debug_frame from base bv instead of debug bv and make calculated cie offset ranges relative to bv start - Fix dwarf raw name resolution not resolving specification - Try to load eh_frame/debug_frame from both raw and normal views in dwarf import --- plugins/dwarf/dwarf_import/src/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/dwarf/dwarf_import/src/functions.rs') diff --git a/plugins/dwarf/dwarf_import/src/functions.rs b/plugins/dwarf/dwarf_import/src/functions.rs index 5b228713..6400ea84 100644 --- a/plugins/dwarf/dwarf_import/src/functions.rs +++ b/plugins/dwarf/dwarf_import/src/functions.rs @@ -81,7 +81,7 @@ pub(crate) fn parse_function_entry( debug_info_builder: &mut DebugInfoBuilder, ) -> Option { // Collect function properties (if they exist in this DIE) - let raw_name = get_raw_name(dwarf, unit, entry); + let raw_name = get_raw_name(dwarf, unit, entry, debug_info_builder_context); let return_type = get_type( dwarf, unit, -- cgit v1.3.1