diff options
| author | KyleMiles <krm504@nyu.edu> | 2023-07-31 23:07:52 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2023-07-31 23:07:52 -0400 |
| commit | 877436a87570d49bd4c694f2a8b45d9a1f9be989 (patch) | |
| tree | 60d262921bc03e017d7092cb301b80f762cddef1 /rust/examples/dwarf/dwarf_import/src/lib.rs | |
| parent | 10d5bd9aed6122de4d096e78d116890e2ca439e0 (diff) | |
Dwarf import : Handle default address size for pointers better when the dwarf info doesn't specify it
Diffstat (limited to 'rust/examples/dwarf/dwarf_import/src/lib.rs')
| -rw-r--r-- | rust/examples/dwarf/dwarf_import/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 }; |
