aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/function.d
blob: 0ed8eece1bb83a0ea00ac6d5f6df7263be20d0a6 (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: function.c
#objdump: --ctf=.ctf
#ld: -shared
#name: Function

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: dff2
    Version: 4 \(CTF_VERSION_3\)
    Compilation unit name: .*function.c
#...
    Type section:	0x0 -- 0x8f \(0x90 bytes\)
    String section:	.*
#...
  Types:
#...
     [0-9a-f]*: int \(\*\) \(char, int, float, void \*, void \(\*\)\(\*\) \(int\)\) \(size 0x0\)
        \[0x0\] \(ID 0x[0-9a-f]*\) \(kind 5\) int \(\*\) \(char, int[0-9]*, float, void \*, void \(\*\)\(\*\) \(int\)\) \(aligned at 0x[0-9a-f]*\)
#...