We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 845119b commit f7efa90Copy full SHA for f7efa90
clang/test/CodeGen/bounds-checking.c
@@ -86,11 +86,11 @@ char B2[10];
86
// NOOPTARRAY-LABEL: @f8
87
void f8(int i, int k) {
88
// NOOPTLOCAL: call void @llvm.ubsantrap(i8 3)
89
- // NOOPTARRAY: call void @llvm.ubsantrap(i8 18)
+ // NOOPTARRAY: call void @llvm.ubsantrap(i8 18) #[[ATTR2:[0-9]+]]
90
B[i] = '\0';
91
92
// NOOPTLOCAL: call void @llvm.ubsantrap(i8 5)
93
94
B2[k] = '\0';
95
}
96
@@ -102,3 +102,4 @@ struct S {
102
struct S *f9(int i) {
103
return &s[i];
104
105
+// NOOPTARRAY: attributes #[[ATTR2]] = { nomerge noreturn nounwind }
0 commit comments