From 877436a87570d49bd4c694f2a8b45d9a1f9be989 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Mon, 31 Jul 2023 23:07:52 -0400 Subject: Dwarf import : Handle default address size for pointers better when the dwarf info doesn't specify it --- rust/examples/dwarf/dwarf_import/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/examples/dwarf/dwarf_import/src/lib.rs') diff --git a/rust/examples/dwarf/dwarf_import/src/lib.rs b/rust/examples/dwarf/dwarf_import/src/lib.rs index e568753e..f7c29269 100644 --- a/rust/examples/dwarf/dwarf_import/src/lib.rs +++ b/rust/examples/dwarf/dwarf_import/src/lib.rs @@ -228,7 +228,7 @@ fn parse_dwarf( // Since DWARF is stored as a tree with arbitrary implicit edges among leaves, // it is not possible to correctly track namespaces while you're parsing "in order" without backtracking, // so we just do it up front - let mut debug_info_builder = DebugInfoBuilder::new(); + let mut debug_info_builder = DebugInfoBuilder::new(view); if (*progress)(0, 1).is_err() { return debug_info_builder; // Parsing canceled }; -- cgit v1.3.1