authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-19 11:55:50+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-30 13:44:55+01:00
log9c1821d3bfadc5eddd4dff271a4920c03ee0ffea
treebd9c3ab253d769d5c3329c5fdf44c7ef65decfa1
parent084e92879a1732374fac5f1a05a27f42b9306d22
signaturelock-open Commit is signed but in an unrecognized format.

ElfModule: fix assertion failure


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/debug/SelfInfo/ElfModule.zig+1-1
......@@ -204,7 +204,7 @@ fn loadUnwindInfo(module: *const ElfModule, gpa: Allocator, di: *DebugInfo) Erro
204204 } else unwinds: {
205205 // There is no `.eh_frame_hdr` section. There may still be an `.eh_frame` or `.debug_frame`
206206 // 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);
208208 const opt_debug_frame = &di.loaded_elf.?.debug_frame;
209209 const opt_eh_frame = &di.loaded_elf.?.eh_frame;
210210 var i: usize = 0;