mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
LLVM: use !nosanitize for arithmetic safety
This commit is contained in:
parent
26d5c27ba0
commit
a740833c42
@ -7758,7 +7758,7 @@ pub const FuncGen = struct {
|
||||
|
||||
const fail_block = try fg.wip.block(1, "OverflowFail");
|
||||
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 };
|
||||
try fg.buildSimplePanic(.integer_overflow);
|
||||
|
Loading…
Reference in New Issue
Block a user