2 #source: diag-wrong-magic-number.s
4 #ld: -shared --ctf-variables
5 #name: Diagnostics - Wrong magic number mixed with valid CTF sections
6 #warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
10 Contents of CTF section .ctf:
14 Version: 4 \(CTF_VERSION_3\)
16 Variable section: 0x0 -- 0x17 \(0x18 bytes\)
17 Type section: 0x18 -- 0x83 \(0x6c bytes\)
28 b -> 0x[0-9a-f]*: struct B \(.*
32 0x[0-9a-f]*: struct B \(.*
33 *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct B \(.*
34 *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct C \* c \(.*