aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/forward.d
blob: 5998ecb99bd5cf9fdc6a737e909a0bac1de828d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#as:
#source: forward.c
#objdump: --ctf
#ld: -shared
#name: Forwards

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
    Type section:	.* \(0x18 bytes\)
#...
  Types:

    0x[0-9a-f]: \(kind 9\) struct foo
    0x[0-9a-f]: \(kind 3\) struct foo \* \(size 0x[0-9a-f]*\) \(aligned at 0x[0-9a-f]*\) -> 0x[0-9a-f]: \(kind 9\) struct foo
#...