File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
2
3
- // CHECK: @tentative_attr_first = global i32 undef, align 4
3
+ // CHECK: @tentative_attr_first = global i32 undef
4
4
int tentative_attr_first __attribute__((loader_uninitialized ));
5
5
int tentative_attr_first ;
6
6
7
- // CHECK: @tentative_attr_second = global i32 undef, align 4
7
+ // CHECK: @tentative_attr_second = global i32 undef
8
8
int tentative_attr_second ;
9
9
int tentative_attr_second __attribute__((loader_uninitialized ));
10
10
11
- // CHECK: @array = global [16 x float] undef, align 16
11
+ // CHECK: @array = global [16 x float] undef
12
12
float array [16 ] __attribute__((loader_uninitialized ));
13
13
14
14
typedef struct
@@ -17,8 +17,8 @@ typedef struct
17
17
float y ;
18
18
} s ;
19
19
20
- // CHECK: @i = global %struct.s undef, align 4
20
+ // CHECK: @i = global %struct.s undef
21
21
s i __attribute__((loader_uninitialized ));
22
22
23
- // CHECK: @private_extern_ok = hidden global i32 undef, align 4
23
+ // CHECK: @private_extern_ok = hidden global i32 undef
24
24
__private_extern__ int private_extern_ok __attribute__((loader_uninitialized )) ;
Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ class trivial
21
21
// CHECK: @ut = global %class.trivial undef
22
22
trivial ut [[clang::loader_uninitialized]];
23
23
24
- // CHECK: @arr = global [32 x double] undef, align 16
24
+ // CHECK: @arr = global [32 x double] undef
25
25
double arr[32 ] __attribute__((loader_uninitialized));
26
26
27
27
// Defining as arr2[] [[clang..]] raises the error: attribute cannot be applied to types
28
- // CHECK: @arr2 = global [4 x double] undef, align 16
28
+ // CHECK: @arr2 = global [4 x double] undef
29
29
double arr2 [[clang::loader_uninitialized]] [4 ];
You can’t perform that action at this time.
0 commit comments