| ... | ... | @@ -204,7 +204,7 @@ fn loadUnwindInfo(module: *const ElfModule, gpa: Allocator, di: *DebugInfo) Erro |
| 204 | 204 | } else unwinds: { |
| 205 | 205 | // There is no `.eh_frame_hdr` section. There may still be an `.eh_frame` or `.debug_frame` |
| 206 | 206 | // section, but we'll have to load the binary to get at it. |
| 207 | | try module.loadElf(gpa, di); |
| 207 | if (di.loaded_elf == null) try module.loadElf(gpa, di); |
| 208 | 208 | const opt_debug_frame = &di.loaded_elf.?.debug_frame; |
| 209 | 209 | const opt_eh_frame = &di.loaded_elf.?.eh_frame; |
| 210 | 210 | var i: usize = 0; |