e8fc7a49aa54c6ec63ad3f2f0c0acc8eca57b18b
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ctf / cross-tu-noncyclic.d
1 # Check that noncyclic cross-TU matching-up works.
2 # We can guarantee the order of emitted structures, too.
3 #as:
4 #source: cross-tu-1.c
5 #source: cross-tu-2.c
6 #objdump: --ctf=.ctf
7 #ld: -shared --ctf-variables
8 #name: cross-TU-noncyclic
9
10 .*: +file format .*
11
12 Contents of CTF section .ctf:
13
14 Header:
15 Magic number: 0xdff2
16 Version: 4 \(CTF_VERSION_3\)
17 #...
18 Type section: .* \(0x74 bytes\)
19 String section: .*
20
21 Labels:
22
23 Data objects:
24 #...
25 Function objects:
26
27 Variables:
28 #...
29
30 Types:
31 #...
32 0x[0-9a-f]*: \(kind 6\) struct A .*
33 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
34 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
35 #...
36 0x[0-9a-f]*: \(kind 6\) struct B .*
37 *\[0x0\] foo: ID 0x[0-9a-f]*: \(kind 1\) int .*
38 #...
39 0x[0-9a-f]*: \(kind 3\) struct B \* \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> 0x[0-9a-f]*: \(kind 6\) struct B .*
40 #...
41 0x[0-9a-f]*: \(kind 3\) struct A \* \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> 0x[0-9a-f]*: \(kind 6\) struct A .*
42 #...
This page took 0.041287 seconds and 3 git commands to generate.