libctf: impose an ordering on conflicting types
[binutils-gdb.git] / ld / testsuite / ld-ctf / super-sub-cycles.d
1 #as:
2 #source: super-sub-cycles.c
3 #objdump: --ctf
4 #ld: -shared
5 #name: Super- and sub-cycles
6
7 .*: +file format .*
8
9 Contents of CTF section .ctf:
10
11 Header:
12 Magic number: 0xdff2
13 Version: 4 \(CTF_VERSION_3\)
14 #...
15 Compilation unit name: .*super-sub-cycles.c
16 #...
17 Type section: .*\(0x108 bytes\)
18 #...
19 Types:
20 #...
21 0x[0-9a-f]: \(kind 6\) struct A \(.*
22 \[0x0\] b: ID 0x[0-9a-f]*: \(kind 6\) struct B \(.*
23 \[0x0\] c: ID 0x[0-9a-f]*: \(kind 6\) struct C \(.*
24 \[0x0\] a: ID 0x[0-9a-f]*: \(kind 3\) struct A \* \(.*
25 \[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 6\) struct D \(.*
26 \[0x[0-9a-f]*\] b: ID 0x[0-9a-f]*: \(kind 3\) struct B \* \(.*
27 \[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 6\) struct D \(.*
28 \[0x[0-9a-f]*\] b: ID 0x[0-9a-f]*: \(kind 3\) struct B \* \(.*
29 \[0x[0-9a-f]*\] x: ID 0x[0-9a-f]*: \(kind 6\) struct X \(.*
30 \[0x[0-9a-f]*\] y: ID 0x[0-9a-f]*: \(kind 6\) struct Y \(.*
31 \[0x[0-9a-f]*\] z: ID 0x[0-9a-f]*: \(kind 6\) struct Z \(.*
32 \[0x[0-9a-f]*\] y: ID 0x[0-9a-f]*: \(kind 3\) struct Y \* \(.*
33 \[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 3\) struct D \* \(.*
34 #...