1#as:
2#source: cycle-1.c
3#source: A.c
4#source: A-2.c
5#source: B.c
6#source: B-2.c
7#source: C.c
8#source: C-2.c
9#objdump: --ctf=.ctf
10#ld: -shared --ctf-variables
11#name: Conflicting cycle 2.parent
12
13.*: +file format .*
14
15Contents of CTF section .ctf:
16
17  Header:
18    Magic number: dff2
19    Version: 4 \(CTF_VERSION_3\)
20    Variable section:	0x0 -- 0x7 \(0x8 bytes\)
21    Type section:	0x8 -- 0x9b \(0x94 bytes\)
22    String section:	0x9c -- 0xac \(0x11 bytes\)
23
24  Labels:
25
26  Data objects:
27
28  Function objects:
29
30  Variables:
31    cycle_1 ->  [0-9a-f]*: struct cycle_1 \* \(size 0x[0-9a-f]*\) -> [0-9a-f]*: struct cycle_1 \(size 0x[0-9a-f]*\)
32
33  Types:
34#...
35     [0-9a-f]*: struct cycle_1 \(size 0x[0-9a-f]*\)
36        \[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct cycle_1 \(aligned at 0x[0-9a-f]*\)
37            \[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct A \* a \(aligned at 0x[0-9a-f]*\)
38            \[0x[0-9a-f]*\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct B \* b \(aligned at 0x[0-9a-f]*\)
39            \[0x[0-9a-f]*\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct cycle_1 \* next \(aligned at 0x[0-9a-f]*\)
40#...
41