authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-08-24 12:48:31-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-08-24 13:00:28-04:00
logbf1f91595d4d3b5911632c671ef16e44d70dc9a6
treeeab4316a52fccbe9c4f515c76b047d687879d2f4
parent6b31b178a6c6ca703211eeffa49167bfc4e0cdd4

std.debug: remove workaround for fixed bug


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

std/debug/index.zig+1-2
......@@ -889,11 +889,10 @@ fn getLineNumberInfo(st: *ElfStackTrace, compile_unit: *const CompileUnit, targe
889889 while (true) {
890890 const opcode = try in_stream.readByte();
891891
892 var sub_op: u8 = undefined; // TODO move this to the correct scope and fix the compiler crash
893892 if (opcode == DW.LNS_extended_op) {
894893 const op_size = try readULeb128(in_stream);
895894 if (op_size < 1) return error.InvalidDebugInfo;
896 sub_op = try in_stream.readByte();
895 var sub_op = try in_stream.readByte();
897896 switch (sub_op) {
898897 DW.LNE_end_sequence => {
899898 prog.end_sequence = true;