diff options
| author | LemonBoy <thatlemon@gmail.com> | 2019-04-23 09:57:57 +0200 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2019-04-23 09:57:57 +0200 |
| commit | b095e33667972cb650341e8cfbae7ae41ca9580d (patch) | |
| tree | 058032637442da01458bfbd457292121c9571674 | |
| parent | 57ec183c09e1c9d313fc6ce35cdbfb4b3aa08016 (diff) | |
| download | zig-b095e33667972cb650341e8cfbae7ae41ca9580d.tar.gz zig-b095e33667972cb650341e8cfbae7ae41ca9580d.zip | |
Fix silly typo
| -rw-r--r-- | std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/debug.zig b/std/debug.zig index dd34e4e205..7c4343b221 100644 --- 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; |
