udt-layout.test
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
REQUIRES: system-windows, lld
RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/UdtLayoutTest.cpp
RUN: %lldb -b -s %S/Inputs/UdtLayoutTest.script -- %t.exe | FileCheck %s
CHECK:(int) int C::abc = 123
CHECK:(List [16]) ls = {
CHECK: [15] = {
CHECK: Prev = 0x00000000
CHECK: Next = 0x00000000
CHECK: Value = {
CHECK: B<0> = {
CHECK: A = {
CHECK: _u = (_u1 = '\x02', _u2 = 2, _u3 = 2)
CHECK: }
CHECK: _a = '\x01'
CHECK: _b = 2
CHECK: _c = 3
CHECK: }
CHECK: B<1> = {
CHECK: A = {
CHECK: _u = (_u1 = '\x02', _u2 = 2, _u3 = 2)
CHECK: }
CHECK: _a = '\x02'
CHECK: _b = 4
CHECK: _c = 6
CHECK: }
CHECK: B<2> = {
CHECK: A = {
CHECK: _u = (_u1 = '\x02', _u2 = 2, _u3 = 2)
CHECK: }
CHECK: _a = '\x03'
CHECK: _b = 6
CHECK: _c = 9
CHECK: }
CHECK: B<3> = {
CHECK: A = {
CHECK: _u = (_u1 = '\x02', _u2 = 2, _u3 = 2)
CHECK: }
CHECK: _a = '\x04'
CHECK: _b = 8
CHECK: _c = 12
CHECK: }
CHECK: A = {
CHECK: _u = (_u1 = '\x02', _u2 = 2, _u3 = 2)
CHECK: }
CHECK: _x = 5
CHECK: _y = 10
CHECK: _z = '\x0f'
CHECK: }
CHECK: }
CHECK:}