zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b095e33667972cb650341e8cfbae7ae41ca9580d (tree)
parent 57ec183c09e1c9d313fc6ce35cdbfb4b3aa08016
Author: LemonBoy <thatlemon@gmail.com>
Date:   Tue, 23 Apr 2019 09:57:57 +0200

Fix silly typo

Diffstat:
Mstd/debug.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/debug.zig b/std/debug.zig @@ -2051,7 +2051,7 @@ fn scanAllFunctions(di: *DwarfInfo) !void { this_die_obj = (try parseDie1(di, abbrev_table, is_64)) orelse return error.InvalidDebugInfo; } else if (this_die_obj.getAttr(DW.AT_specification)) |ref| { // Follow the DIE it points to and repeat - const ref_offset = try this_die_obj.getAttrRef(DW.AT_abstract_origin); + const ref_offset = try this_die_obj.getAttrRef(DW.AT_specification); if (ref_offset > next_offset) return error.InvalidDebugInfo; try di.dwarf_seekable_stream.seekTo(this_unit_offset + ref_offset); this_die_obj = (try parseDie1(di, abbrev_table, is_64)) orelse return error.InvalidDebugInfo;