libctf: impose an ordering on conflicting types
[binutils-gdb.git] / ld / testsuite / ld-ctf / cycle-2.C.d
1 #as:
2 #source: A.c
3 #source: B.c
4 #source: C.c
5 #objdump: --ctf
6 #ld: -shared --ctf-variables
7 #name: Cycle 2.C
8
9 .*: +file format .*
10
11 Contents of CTF section .ctf:
12
13 Header:
14 Magic number: 0xdff2
15 Version: 4 \(CTF_VERSION_3\)
16 #...
17 Type section: .* \(0x6c bytes\)
18 String section: .*
19
20 Labels:
21
22 Data objects:
23
24 Function objects:
25
26 Variables:
27 #...
28 c -> 0x[0-9a-f]*: \(kind 6\) struct C \(.*
29 #...
30 Types:
31 #...
32 0x[0-9a-f]*: \(kind 6\) struct C \(.*
33 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 3\) struct A \* \(.*
34 #...
35 Strings:
36 0x0:
37 #...
38 0x[0-9a-f]*: C
39 #...