| ... | ... | @@ -2171,7 +2171,7 @@ pub fn unwindFrame(context: *dwarf.UnwindContext, unwind_info: []const u8, modul |
| 2171 | 2171 | } |
| 2172 | 2172 | |
| 2173 | 2173 | // Last index is a sentinel containing the highest address as its functionOffset |
| 2174 | | if (len == 0 or indices[left].secondLevelPagesSectionOffset == 0) return error.MissingUnwindInfo; |
| 2174 | if (indices[left].secondLevelPagesSectionOffset == 0) return error.MissingUnwindInfo; |
| 2175 | 2175 | break :blk &indices[left]; |
| 2176 | 2176 | }; |
| 2177 | 2177 | |
| ... | ... | @@ -2216,7 +2216,6 @@ pub fn unwindFrame(context: *dwarf.UnwindContext, unwind_info: []const u8, modul |
| 2216 | 2216 | } |
| 2217 | 2217 | } |
| 2218 | 2218 | |
| 2219 | | if (len == 0) return error.InvalidUnwindInfo; |
| 2220 | 2219 | break :blk .{ |
| 2221 | 2220 | .function_offset = entries[left].functionOffset, |
| 2222 | 2221 | .raw_encoding = entries[left].encoding, |
| ... | ... | @@ -2248,7 +2247,6 @@ pub fn unwindFrame(context: *dwarf.UnwindContext, unwind_info: []const u8, modul |
| 2248 | 2247 | } |
| 2249 | 2248 | } |
| 2250 | 2249 | |
| 2251 | | if (len == 0) return error.InvalidUnwindInfo; |
| 2252 | 2250 | const entry = entries[left]; |
| 2253 | 2251 | const function_offset = second_level_index.functionOffset + entry.funcOffset; |
| 2254 | 2252 | if (entry.encodingIndex < header.commonEncodingsArrayCount) { |