summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/nonrepresentable.d
blob: 610558f6605cbe8ca70ce6debb407acf6dda4d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#as:
#source: nonrepresentable-1.c
#source: nonrepresentable-2.c
#objdump: --ctf
#ld: -shared
#name: Nonrepresentable types

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
  Function objects:
#...
    foo -> 0x[0-9]*: \(kind 5\) int \(\*\) \(\(nonrepresentable type.*\)\) \(aligned at 0x8\)
#...
  Types:
#...
    0x[0-9a-f]*: \(kind 0\) \(nonrepresentable type.*\)
#...

  Strings:
#...