mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
LLVM: use !nosanitize for arithmetic safety
This commit is contained in:
parent
26d5c27ba0
commit
a740833c42
1 changed files with 1 additions and 1 deletions
|
|
@ -7758,7 +7758,7 @@ pub const FuncGen = struct {
|
||||||
|
|
||||||
const fail_block = try fg.wip.block(1, "OverflowFail");
|
const fail_block = try fg.wip.block(1, "OverflowFail");
|
||||||
const ok_block = try fg.wip.block(1, "OverflowOk");
|
const ok_block = try fg.wip.block(1, "OverflowOk");
|
||||||
_ = try fg.wip.brCond(overflow_bit, fail_block, ok_block);
|
_ = try fg.wip.brCondNosanitize(overflow_bit, fail_block, ok_block);
|
||||||
|
|
||||||
fg.wip.cursor = .{ .block = fail_block };
|
fg.wip.cursor = .{ .block = fail_block };
|
||||||
try fg.buildSimplePanic(.integer_overflow);
|
try fg.buildSimplePanic(.integer_overflow);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue