aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-ctf/array.d
blob: f45d68cfda747938d3873d43edb9251e6b95d792 (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
27
28
29
30
31
32
33
34
#as:
#source: array-char.c
#source: array-int.c
#objdump: --ctf=.ctf
#ld: -shared --ctf-variables
#name: Arrays

.*: +file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: dff2
    Version: 4 \(CTF_VERSION_3\)
    Variable section:	0x0 -- 0xf \(0x10 bytes\)
    Type section:	0x10 -- 0x6b \(0x5c bytes\)
    String section:	.*

  Labels:

  Data objects:

  Function objects:

  Variables:
    digits.*\[10] .*
    digits.*\[10] .*

  Types:
#...
     [0-9a-f]*: .*\[10\] .*
#...
     [0-9a-f]*: .*\[10\] .*
#...