Skip to content

Commit 6397f22

Browse files
committed
[clang] Fix test after #84214
1 parent 60e562d commit 6397f22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/CodeGen/remote-traps.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
// RUN: %clang_cc1 -O1 -emit-llvm -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow %s -o - | FileCheck %s
22
// RUN: %clang_cc1 -O1 -emit-llvm -fsanitize=signed-integer-overflow -fsanitize-trap=signed-integer-overflow -mllvm -clang-remove-traps -mllvm -remove-traps-random-rate=1 %s -o - | FileCheck %s --implicit-check-not="call void @llvm.ubsantrap" --check-prefixes=REMOVE
33

4-
int f(int x) {
4+
int test(int x) {
55
return x + 123;
66
}
77

8-
// CHECK-LABEL: define dso_local noundef i32 @f(
8+
// CHECK-LABEL: define {{.*}}i32 @test(
99
// CHECK: call { i32, i1 } @llvm.sadd.with.overflow.i32(
1010
// CHECK: trap:
1111
// CHECK-NEXT: call void @llvm.ubsantrap(i8 0)
1212
// CHECK-NEXT: unreachable
1313

14-
// REMOVE-LABEL: define dso_local noundef i32 @f(
14+
// REMOVE-LABEL: define {{.*}}i32 @test(
1515
// REMOVE: call { i32, i1 } @llvm.sadd.with.overflow.i32(

0 commit comments

Comments
 (0)