fixups to linux build

This commit is contained in:
Andrew Kelley
2017-08-27 00:28:17 -04:00
parent 29a418c9d5
commit b59aa7b906
3 changed files with 12 additions and 11 deletions

View File

@@ -721,7 +721,8 @@ fn getLineNumberInfo(st: &ElfStackTrace, compile_unit: &const CompileUnit, targe
});
},
else => {
%return in_stream.seekForward(op_size - 1);
const fwd_amt = math.cast(isize, op_size - 1) %% return error.InvalidDebugInfo;
%return in_stream.seekForward(fwd_amt);
},
}
} else if (opcode >= opcode_base) {