| ... | @@ -889,11 +889,10 @@ fn getLineNumberInfo(st: *ElfStackTrace, compile_unit: *const CompileUnit, targe | ... | @@ -889,11 +889,10 @@ fn getLineNumberInfo(st: *ElfStackTrace, compile_unit: *const CompileUnit, targe |
| 889 | while (true) { | 889 | while (true) { |
| 890 | const opcode = try in_stream.readByte(); | 890 | const opcode = try in_stream.readByte(); |
| 891 | | 891 | |
| 892 | var sub_op: u8 = undefined; // TODO move this to the correct scope and fix the compiler crash | | |
| 893 | if (opcode == DW.LNS_extended_op) { | 892 | if (opcode == DW.LNS_extended_op) { |
| 894 | const op_size = try readULeb128(in_stream); | 893 | const op_size = try readULeb128(in_stream); |
| 895 | if (op_size < 1) return error.InvalidDebugInfo; | 894 | if (op_size < 1) return error.InvalidDebugInfo; |
| 896 | sub_op = try in_stream.readByte(); | 895 | var sub_op = try in_stream.readByte(); |
| 897 | switch (sub_op) { | 896 | switch (sub_op) { |
| 898 | DW.LNE_end_sequence => { | 897 | DW.LNE_end_sequence => { |
| 899 | prog.end_sequence = true; | 898 | prog.end_sequence = true; |