• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<abi-corpus version='2.0' architecture='elf-amd-x86_64'>
2  <elf-function-symbols>
3    <!-- foo(S&) -->
4    <elf-symbol name='_Z3fooR1S' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
5  </elf-function-symbols>
6  <abi-instr address-size='64' path='test7.cc' comp-dir-path='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
7    <!-- char -->
8    <type-decl name='char' size-in-bits='8' id='type-id-1'/>
9    <!-- char*[7] -->
10    <array-type-def dimensions='1' type-id='type-id-2' size-in-bits='448' id='type-id-3'>
11      <!-- <anonymous range>[7] -->
12      <subrange length='7' type-id='type-id-4' id='type-id-5'/>
13    </array-type-def>
14    <!-- char[1] -->
15    <array-type-def dimensions='1' type-id='type-id-1' size-in-bits='8' id='type-id-6'>
16      <!-- <anonymous range>[1] -->
17      <subrange length='1' type-id='type-id-4' id='type-id-7'/>
18    </array-type-def>
19    <!-- char[] -->
20    <array-type-def dimensions='1' type-id='type-id-1' size-in-bits='infinite' id='type-id-8'>
21      <!-- <anonymous range>[] -->
22      <subrange length='infinite' type-id='type-id-4' id='type-id-9'/>
23    </array-type-def>
24    <!-- double -->
25    <type-decl name='double' size-in-bits='64' id='type-id-10'/>
26    <!-- double[5][3] -->
27    <array-type-def dimensions='2' type-id='type-id-10' size-in-bits='960' id='type-id-11'>
28      <!-- <anonymous range>[5] -->
29      <subrange length='5' type-id='type-id-4' id='type-id-12'/>
30      <!-- <anonymous range>[3] -->
31      <subrange length='3' type-id='type-id-4' id='type-id-13'/>
32    </array-type-def>
33    <!-- int -->
34    <type-decl name='int' size-in-bits='32' id='type-id-14'/>
35    <!-- int*[4] -->
36    <array-type-def dimensions='1' type-id='type-id-15' size-in-bits='256' id='type-id-16'>
37      <!-- <anonymous range>[4] -->
38      <subrange length='4' type-id='type-id-4' id='type-id-17'/>
39    </array-type-def>
40    <!-- int*[4]*[10] -->
41    <array-type-def dimensions='1' type-id='type-id-18' size-in-bits='640' id='type-id-19'>
42      <!-- <anonymous range>[10] -->
43      <subrange length='10' type-id='type-id-4' id='type-id-20'/>
44    </array-type-def>
45    <!-- int[5] -->
46    <array-type-def dimensions='1' type-id='type-id-14' size-in-bits='160' id='type-id-21'>
47      <!-- <anonymous range>[5] -->
48      <subrange length='5' type-id='type-id-4' id='type-id-12'/>
49    </array-type-def>
50    <!-- sizetype -->
51    <type-decl name='sizetype' size-in-bits='64' id='type-id-4'/>
52    <!-- struct S -->
53    <class-decl name='S' size-in-bits='2304' is-struct='yes' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='1' column='1' id='type-id-22'>
54      <data-member access='public' layout-offset-in-bits='0'>
55        <!-- int S::a[5] -->
56        <var-decl name='a' type-id='type-id-21' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='3' column='1'/>
57      </data-member>
58      <data-member access='public' layout-offset-in-bits='192'>
59        <!-- char* S::b[7] -->
60        <var-decl name='b' type-id='type-id-3' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='4' column='1'/>
61      </data-member>
62      <data-member access='public' layout-offset-in-bits='640'>
63        <!-- double S::c[5][3] -->
64        <var-decl name='c' type-id='type-id-11' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='5' column='1'/>
65      </data-member>
66      <data-member access='public' layout-offset-in-bits='1600'>
67        <!-- int*[4]* S::d[10] -->
68        <var-decl name='d' type-id='type-id-19' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='6' column='1'/>
69      </data-member>
70      <data-member access='public' layout-offset-in-bits='2240'>
71        <!-- char S::e[1] -->
72        <var-decl name='e' type-id='type-id-6' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='7' column='1'/>
73      </data-member>
74      <data-member access='public' layout-offset-in-bits='2248'>
75        <!-- char S::f[] -->
76        <var-decl name='f' type-id='type-id-8' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='8' column='1'/>
77      </data-member>
78    </class-decl>
79    <!-- S& -->
80    <qualified-type-def type-id='type-id-23' id='type-id-24'/>
81    <!-- S& -->
82    <reference-type-def kind='lvalue' type-id='type-id-22' size-in-bits='64' id='type-id-23'/>
83    <!-- char* -->
84    <pointer-type-def type-id='type-id-1' size-in-bits='64' id='type-id-2'/>
85    <!-- int* -->
86    <pointer-type-def type-id='type-id-14' size-in-bits='64' id='type-id-15'/>
87    <!-- int*[4]* -->
88    <pointer-type-def type-id='type-id-16' size-in-bits='64' id='type-id-18'/>
89    <!-- int foo(S&) -->
90    <function-decl name='foo' mangled-name='_Z3fooR1S' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR1S'>
91      <!-- parameter of type 'S&' -->
92      <parameter type-id='type-id-24'/>
93      <!-- int -->
94      <return type-id='type-id-14'/>
95    </function-decl>
96  </abi-instr>
97</abi-corpus>
98