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

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...
    Compilation unit name: .*function.c
    Function info section:	.* \(0x[1-9a-f][0-9a-f]* bytes\)
    Type section:	.* \(0x90 bytes\)
    String section:	.*
#...
  Function objects:
    foo -> 0x[0-9a-f]*: \(kind 5\) int \(\*\) \(char, int, float, void \*, void \(\*\)\(\*\) \(int\)\) \(aligned at 0x[0-9a-f]*\)
#...
  Types:
#...
    0x[0-9a-f]*: \(kind 5\) int \(\*\) \(char, int, float, void \*, void \(\*\)\(\*\) \(int\)\) \(aligned at 0x[0-9a-f]*\)
#...