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 | 4a5984cc6d176d8356529e7e5aee4856088d79f0 (patch) | |
tree | 12b295212b966a8df05b61339f713fc4671928c1 /test/CodeGen/compound-assign-overflow.c | |
parent | 086cc83a84bfab60685b69e3afa3e4500daebb4d (diff) |
[ubsan] Make static check data non-const so it can be used for deduplication.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/compound-assign-overflow.c')
-rw-r--r-- | test/CodeGen/compound-assign-overflow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/compound-assign-overflow.c b/test/CodeGen/compound-assign-overflow.c index 58df89609e..e82061bdb7 100644 --- a/test/CodeGen/compound-assign-overflow.c +++ b/test/CodeGen/compound-assign-overflow.c @@ -4,11 +4,11 @@ #include <stdint.h> // CHECK: @[[INT:.*]] = private unnamed_addr constant { i16, i16, [6 x i8] } { i16 0, i16 11, [6 x i8] c"'int'\00" } -// CHECK: @[[LINE_100:.*]] = private unnamed_addr constant {{.*}}, i32 100, i32 5 {{.*}} @[[INT]] +// CHECK: @[[LINE_100:.*]] = private unnamed_addr global {{.*}}, i32 100, i32 5 {{.*}} @[[INT]] // CHECK: @[[UINT:.*]] = private unnamed_addr constant { i16, i16, [15 x i8] } { i16 0, i16 10, [15 x i8] c"'unsigned int'\00" } -// CHECK: @[[LINE_200:.*]] = private unnamed_addr constant {{.*}}, i32 200, i32 5 {{.*}} @[[UINT]] +// CHECK: @[[LINE_200:.*]] = private unnamed_addr global {{.*}}, i32 200, i32 5 {{.*}} @[[UINT]] // CHECK: @[[DIVINT:.*]] = private unnamed_addr constant { i16, i16, [6 x i8] } { i16 0, i16 11, [6 x i8] c"'int'\00" } -// CHECK: @[[LINE_300:.*]] = private unnamed_addr constant {{.*}}, i32 300, i32 5 {{.*}} @[[DIVINT]] +// CHECK: @[[LINE_300:.*]] = private unnamed_addr global {{.*}}, i32 300, i32 5 {{.*}} @[[DIVINT]] int32_t x; |