authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-04-23 09:57:57+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2019-04-23 09:57:57+02:00
logb095e33667972cb650341e8cfbae7ae41ca9580d
tree058032637442da01458bfbd457292121c9571674
parent57ec183c09e1c9d313fc6ce35cdbfb4b3aa08016

Fix silly typo


1 files changed, 1 insertions(+), 1 deletions(-)

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