Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-ctf/diag-wrong-magic-number-mixed.d
2023-03-06 14:48:14 +01:00

41 lines
843 B
Makefile

#as:
#source: diag-wrong-magic-number.s
#source: B.c
#ld: -shared --ctf-variables
#name: Diagnostics - Wrong magic number mixed with valid CTF sections
#warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
.*: +file format .*
Contents of CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
Variable section: 0x0 -- 0x17 \(0x18 bytes\)
Type section: 0x18 -- 0x83 \(0x6c bytes\)
String section: .*
Labels:
Data objects:
Function objects:
Variables:
#...
b -> 0x[0-9a-f]*: struct B \(.*
#...
Types:
#...
0x[0-9a-f]*: struct B \(.*
*\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct B \(.*
*\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct C \* c \(.*
#...
Strings:
0x0:
#...
0x[0-9a-f]*: B
#...