summaryrefslogtreecommitdiff
path: root/plugins/dwarf/dwarf_import/src/functions.rs
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2025-04-18 15:46:27 -0400
committerJosh Ferrell <josh@vector35.com>2025-04-23 15:46:37 -0400
commit0493db09dee436a9ecb9009ae7222dccefd3d5e3 (patch)
tree7a775b5b383fcd77bb9ed3bab665a6b2d8a86408 /plugins/dwarf/dwarf_import/src/functions.rs
parent8385022779729901786510517878173596454097 (diff)
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
Diffstat (limited to 'plugins/dwarf/dwarf_import/src/functions.rs')
-rw-r--r--plugins/dwarf/dwarf_import/src/functions.rs2
1 files changed, 1 insertions, 1 deletions
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<R: ReaderType>(
debug_info_builder: &mut DebugInfoBuilder,
) -> Option<usize> {
// 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,