| ... | @@ -1593,10 +1593,11 @@ pub const DwarfInfo = struct { | ... | @@ -1593,10 +1593,11 @@ pub const DwarfInfo = struct { |
| 1593 | var mapped_pc: usize = undefined; | 1593 | var mapped_pc: usize = undefined; |
| 1594 | | 1594 | |
| 1595 | if (di.eh_frame_hdr) |header| { | 1595 | if (di.eh_frame_hdr) |header| { |
| | 1596 | const eh_frame_len = if (di.section(.eh_frame)) |eh_frame| eh_frame.len else null; |
| 1596 | mapped_pc = context.pc; | 1597 | mapped_pc = context.pc; |
| 1597 | try header.findEntry( | 1598 | try header.findEntry( |
| 1598 | context.isValidMemory, | 1599 | context.isValidMemory, |
| 1599 | null, // TODO: Check di for this | 1600 | eh_frame_len, |
| 1600 | @intFromPtr(di.section(.eh_frame_hdr).?.ptr), | 1601 | @intFromPtr(di.section(.eh_frame_hdr).?.ptr), |
| 1601 | mapped_pc, | 1602 | mapped_pc, |
| 1602 | &cie, | 1603 | &cie, |