File: cross-tu-into-cycle.d

package info (click to toggle)
binutils 2.45-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408,956 kB
  • sloc: ansic: 1,465,081; asm: 816,463; cpp: 87,135; exp: 79,234; makefile: 67,950; sh: 20,839; yacc: 14,149; lisp: 13,640; perl: 13,404; lex: 1,714; ada: 1,681; pascal: 1,446; cs: 879; python: 630; java: 478; sed: 191; xml: 95; awk: 25
file content (60 lines) | stat: -rw-r--r-- 1,193 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Check that a type outside a cycle pointing into a cycle
# in another TU does not cause the whole cycle to show up
# as conflicted.  (Here, we do that by forcing conflicts
# in the variable section alone, so that we can assert that
# the type section of any conflicted dicts is empty.)
# Minimized from libbfd itself.
#as:
#source: cross-tu-cyclic-3.c
#source: cross-tu-cyclic-4.c
#objdump: --ctf
#ld: -shared --ctf-variables
#name: cross-TU-into-cycle

.*:     file format .*

Contents of CTF section .ctf:

  Header:
    Magic number: 0xdff2
    Version: 4 \(CTF_VERSION_3\)
#...

  Labels:

  Data objects:

  Function objects:

  Variables:
    a -> .*
    conflicty -> .*

  Types:
    0x[0-9a-f]*: \(kind 6\) struct A .*
        *\[0x0\] foo: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
    0x[0-9a-f]*: \(kind 6\) struct B .*
        *\[0x0\] next: ID 0x[0-9a-f]*: \(kind 3\) struct B \* .*
    0x[0-9a-f]*: \(kind 3\) struct B \* .*
    0x[0-9a-f]*: \(kind 3\) struct A \* .*

  Strings:
#...

CTF archive member: .*/ld/testsuite/ld-ctf/cross-tu-cyclic-[34].c:

  Header:
#...
  Labels:

  Data objects:

  Function objects:

  Variables:
    conflicty -> .*

  Types:

  Strings:
#...