Files
binutils-gdb/ld/testsuite/ld-ctf/super-sub-cycles.d
Nick Alcock 58d7d4d1a7 ld: testsuite: a tiny start on ld.ctf test adjustments
This is just allowing for changes in objdump itself -- the actual
test results cannot be adjusted until either CTFv4 is emitted or
back-compatibility upgrading is implemented (or, preferably, both,
plus testing of a subset of them with -gbtf as well).
2025-04-25 21:53:18 +01:00

35 lines
1.2 KiB
Makefile

#as:
#source: super-sub-cycles.c
#objdump: --ctf
#ld: -shared
#name: Super- and sub-cycles
.*: +file format .*
Contents of type section .ctf:
Header:
Magic number: 0xdff2
Version: 5 \(CTF_VERSION_4\)
#...
Compilation unit name: .*super-sub-cycles.c
#...
Type section: .*\(0x108 bytes\)
#...
Types:
#...
0x[0-9a-f]: \(kind 6\) struct A \(.*
\[0x0\] b: ID 0x[0-9a-f]*: \(kind 6\) struct B \(.*
\[0x0\] c: ID 0x[0-9a-f]*: \(kind 6\) struct C \(.*
\[0x0\] a: ID 0x[0-9a-f]*: \(kind 3\) struct A \* \(.*
\[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 6\) struct D \(.*
\[0x[0-9a-f]*\] b: ID 0x[0-9a-f]*: \(kind 3\) struct B \* \(.*
\[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 6\) struct D \(.*
\[0x[0-9a-f]*\] b: ID 0x[0-9a-f]*: \(kind 3\) struct B \* \(.*
\[0x[0-9a-f]*\] x: ID 0x[0-9a-f]*: \(kind 6\) struct X \(.*
\[0x[0-9a-f]*\] y: ID 0x[0-9a-f]*: \(kind 6\) struct Y \(.*
\[0x[0-9a-f]*\] z: ID 0x[0-9a-f]*: \(kind 6\) struct Z \(.*
\[0x[0-9a-f]*\] y: ID 0x[0-9a-f]*: \(kind 3\) struct Y \* \(.*
\[0x[0-9a-f]*\] d: ID 0x[0-9a-f]*: \(kind 3\) struct D \* \(.*
#...