diff options
author | Will Dietz <wdietz2@illinois.edu> | 2013-01-09 03:39:41 +0000 |
---|---|---|
committer | Will Dietz <wdietz2@illinois.edu> | 2013-01-09 03:39:41 +0000 |
commit | 450f1a1f459316002e2a245a932b1809356f3452 (patch) | |
tree | 5c64bb92ad460766cd97c39c03062a241dff36ae /clang/test/CodeGen/catch-undef-behavior.c | |
parent | 9f0b95f260d05ab149cb790bc9e5ef16f8777a69 (diff) | |
download | bcm5719-llvm-450f1a1f459316002e2a245a932b1809356f3452.tar.gz bcm5719-llvm-450f1a1f459316002e2a245a932b1809356f3452.zip |
[ubsan] Make static check data non-const so it can be used for deduplication.
llvm-svn: 171947
Diffstat (limited to 'clang/test/CodeGen/catch-undef-behavior.c')
-rw-r--r-- | clang/test/CodeGen/catch-undef-behavior.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/catch-undef-behavior.c b/clang/test/CodeGen/catch-undef-behavior.c index 9170666d31a..ca8e796415b 100644 --- a/clang/test/CodeGen/catch-undef-behavior.c +++ b/clang/test/CodeGen/catch-undef-behavior.c @@ -5,7 +5,7 @@ // CHECK: @[[INT:.*]] = private unnamed_addr constant { i16, i16, [6 x i8] } { i16 0, i16 11, [6 x i8] c"'int'\00" } // FIXME: When we only emit each type once, use [[INT]] more below. -// CHECK: @[[LINE_100:.*]] = private unnamed_addr constant {{.*}}, i32 100, i32 5 {{.*}} @[[INT]], i64 4, i8 1 +// CHECK: @[[LINE_100:.*]] = private unnamed_addr global {{.*}}, i32 100, i32 5 {{.*}} @[[INT]], i64 4, i8 1 // CHECK: @[[LINE_200:.*]] = {{.*}}, i32 200, i32 10 {{.*}}, i64 4, i8 0 // CHECK: @[[LINE_300_A:.*]] = {{.*}}, i32 300, i32 12 {{.*}} @{{.*}}, {{.*}} @{{.*}} // CHECK: @[[LINE_300_B:.*]] = {{.*}}, i32 300, i32 12 {{.*}} @{{.*}}, {{.*}} @{{.*}} @@ -19,7 +19,7 @@ // CHECK: @[[LINE_800:.*]] = {{.*}}, i32 800, i32 12 {{.*}} @{{.*}} } // CHECK: @[[LINE_900:.*]] = {{.*}}, i32 900, i32 11 {{.*}} @{{.*}} } -// CHECK-NULL: @[[LINE_100:.*]] = private unnamed_addr constant {{.*}}, i32 100, i32 5 {{.*}} +// CHECK-NULL: @[[LINE_100:.*]] = private unnamed_addr global {{.*}}, i32 100, i32 5 {{.*}} // PR6805 // CHECK: @foo |