mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.debug: remove workaround for fixed bug
This commit is contained in:
parent
6b31b178a6
commit
bf1f91595d
@ -889,11 +889,10 @@ fn getLineNumberInfo(st: *ElfStackTrace, compile_unit: *const CompileUnit, targe
|
||||
while (true) {
|
||||
const opcode = try in_stream.readByte();
|
||||
|
||||
var sub_op: u8 = undefined; // TODO move this to the correct scope and fix the compiler crash
|
||||
if (opcode == DW.LNS_extended_op) {
|
||||
const op_size = try readULeb128(in_stream);
|
||||
if (op_size < 1) return error.InvalidDebugInfo;
|
||||
sub_op = try in_stream.readByte();
|
||||
var sub_op = try in_stream.readByte();
|
||||
switch (sub_op) {
|
||||
DW.LNE_end_sequence => {
|
||||
prog.end_sequence = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user