| ... | ... | @@ -889,11 +889,10 @@ fn getLineNumberInfo(st: *ElfStackTrace, compile_unit: *const CompileUnit, targe |
| 889 | 889 | while (true) { |
| 890 | 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 | 892 | if (opcode == DW.LNS_extended_op) { |
| 894 | 893 | const op_size = try readULeb128(in_stream); |
| 895 | 894 | if (op_size < 1) return error.InvalidDebugInfo; |
| 896 | | sub_op = try in_stream.readByte(); |
| 895 | var sub_op = try in_stream.readByte(); |
| 897 | 896 | switch (sub_op) { |
| 898 | 897 | DW.LNE_end_sequence => { |
| 899 | 898 | prog.end_sequence = true; |