aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/diag-cttname-null.d
blob: 86a7fd12da6f0e9312fcd77ae755fc241b2135f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#as:
#source: diag-cttname-null.s
#objdump: --ctf=.ctf
#ld: -shared --ctf-variables
#name: Diagnostics - Null type name

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
  Data objects:
    a -> 0x[0-9a-f]*: struct  \(size 0x[0-9a-f]*\)
#...
  Types:
#...
     0x[0-9a-f]*: struct  \(.*
           *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct  \(.*
               *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct B \* b \(.*
#...