| author | |
| committer | |
| log | 52e7934a21e29b5a39fa207ef29520f58e311bb0 |
| tree | 80eac8286e71526c10f4d48408d6a888557eab2a |
| parent | 1ec14988e146b185d87b09c62a1aa715a49047ab |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/dwarf.zig+1| ... | ... | @@ -936,6 +936,7 @@ pub const DwarfInfo = struct { |
| 936 | 936 | const ranges_val = compile_unit.die.getAttr(AT.ranges) orelse continue; |
| 937 | 937 | const ranges_offset = switch (ranges_val.*) { |
| 938 | 938 | .SecOffset => |off| off, |
| 939 | .Const => |c| try c.asUnsignedLe(), | |
| 939 | 940 | .RangeListOffset => |idx| off: { |
| 940 | 941 | if (compile_unit.is_64) { |
| 941 | 942 | const offset_loc = @intCast(usize, compile_unit.rnglists_base + 8 * idx); |