This commit is contained in:
mlugg 2025-09-05 15:18:18 +01:00
parent 67fa5664b7
commit d4f710791f
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ pub const Range = struct {
pub const Section = struct {
data: []const u8,
// If `data` is owned by this Dwarf.
/// If `data` is owned by this Dwarf.
owned: bool,
pub const Id = enum {

View File

@ -178,7 +178,7 @@ fn loadUnwindInfo(module: *const ElfModule, gpa: Allocator, di: *DebugInfo) Erro
break :unwinds buf[0..2];
}
break :unwinds buf[0..1];
} else if (opt_eh_frame.*) |eh_frame| {
} else if (opt_eh_frame.*) |*eh_frame| {
buf[0] = .initSection(.eh_frame, eh_frame.vaddr, eh_frame.bytes);
break :unwinds buf[0..1];
}