binutils-gdb/ld/testsuite/ld-ctf/nonrepresentable.d
2023-08-16 14:22:54 +01:00

27 lines
468 B
Makefile

#as:
#source: nonrepresentable-1.c
#source: nonrepresentable-2.c
#objdump: --ctf
#ld: -shared
#name: Nonrepresentable types
.*: +file format .*
Contents of CTF section .ctf:
Header:
Magic number: 0xdff2
Version: 4 \(CTF_VERSION_3\)
#...
Function objects:
#...
foo -> 0x[0-9a-f]*: \(kind 5\) int \(\*\) \(\(nonrepresentable type.*\)\) \(aligned at .*\)
#...
Types:
#...
0x[0-9a-f]*: \(kind 0\) \(nonrepresentable type.*\)
#...
Strings:
#...