libctf, ld: fix test results for upstream GCC
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ctf / cross-tu-noncyclic.d
CommitLineData
b1b33524
EB
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
12Contents of CTF section .ctf:
13
14 Header:
57f97d0e 15 Magic number: 0xdff2
b1b33524 16 Version: 4 \(CTF_VERSION_3\)
0ad70c53
NA
17#...
18 Type section: .* \(0x74 bytes\)
b1b33524
EB
19 String section: .*
20
21 Labels:
22
23 Data objects:
24#...
25 Function objects:
26
27 Variables:
28#...
29
30 Types:
ae064303
NA
31#...
32 0x[0-9a-f]*: \(kind 6\) struct B .*
33 *\[0x0\] foo: ID 0x[0-9a-f]*: \(kind 1\) int .*
b1b33524 34#...
37002871
NA
35 0x[0-9a-f]*: \(kind 6\) struct A .*
36 *\[0x0\] a: ID 0x[0-9a-f]*: \(kind 1\) long int .*
37 *\[0x[0-9a-f]*\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
b1b33524 38#...
37002871 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 .*
b1b33524 40#...
37002871 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 .*
b1b33524 42#...
This page took 0.075692 seconds and 4 git commands to generate.