libctf, ld: properly deduplicate function types
[deliverable/binutils-gdb.git] / ld / testsuite / ld-ctf / data-func-conflicted.d
CommitLineData
0ad70c53
NA
1#as:
2#source: data-func-1.c
3#source: data-func-2.c
4#objdump: --ctf=.ctf
5#ld: -shared -s
6#name: Conflicted data syms, partially indexed, stripped
7
8.*: +file format .*
9
10Contents of CTF section \.ctf:
11
12 Header:
13 Magic number: dff2
14 Version: 4 \(CTF_VERSION_3\)
15#...
16 Data object section: .* \(0xc bytes\)
17 Function info section: .* \(0x40 bytes\)
18 Object index section: .* \(0xc bytes\)
0e28ade4 19 Type section: .* \(0xe8 bytes\)
0ad70c53
NA
20 String section: .*
21#...
22 Data objects:
23 bar -> struct var_3
24 var_1 -> foo_t
25 var_666 -> foo_t \*
26
27 Function objects:
28 func_[0-9]* -> void \*\(\*\) \(const char \*restrict, int \(\*\)\(\*\) \(const char \*\)\)
29#...
30 Types:
31#...
32 .*: struct var_3 .*
33#...
34CTF archive member: .*/data-func-1\.c:
35
36 Header:
37 Magic number: dff2
38 Version: 4 \(CTF_VERSION_3\)
39#...
40 Parent name: \.ctf
41 Compilation unit name: .*/data-func-1\.c
42 Data object section: .* \(0xfa4 bytes\)
43 Type section: .* \(0xc bytes\)
44 String section: .*
45
46 Labels:
47
48 Data objects:
49 var_[0-9]* -> foo_t
50 var_[0-9]* -> foo_t
51 var_[0-9]* -> foo_t
52 var_[0-9]* -> foo_t
53 var_[0-9]* -> foo_t
54 var_[0-9]* -> foo_t
55 var_[0-9]* -> foo_t
56#...
57 Function objects:
58
59 Variables:
60
61 Types:
62 80000001: foo_t .* -> .* int .*
63#...
This page took 0.025061 seconds and 4 git commands to generate.