]>
git.saurik.com Git - apple/dyld.git/blob - testing/kernel-cache-tests/fixups-x86_64-unaligned/foo.c
8 struct __attribute__((packed
)) __attribute__((aligned((4096)))) PackedS
{
10 __typeof(&func
) funcPtr
; // aligned to 4
11 __typeof(&func
) funcPtr2
; // aligned to 4
13 int *p1
; // aligned to 8
15 int *p2
; // aligned to 1
18 struct PackedS ps
= { 0, &func
, &func
, 0, &g
, 0, &g
};
20 struct PackedS ps_array
[4] = {
21 { 0, &func
, &func
, 0, &g
, 0, &g
},
22 { 0, &func
, &func
, 0, &g
, 0, &g
},
23 { 0, &func
, &func
, 0, &g
, 0, &g
},
24 { 0, &func
, &func
, 0, &g
, 0, &g
}