• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<abi-corpus version='2.0' architecture='elf-amd-x86_64'>
2  <elf-needed>
3    <dependency name='libstdc++.so.6'/>
4    <dependency name='libm.so.6'/>
5    <dependency name='libgcc_s.so.1'/>
6    <dependency name='libc.so.6'/>
7  </elf-needed>
8  <elf-function-symbols>
9    <!-- first_type::first_type() -->
10    <elf-symbol name='_ZN10first_typeC1Ev' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
11    <!-- first_type::first_type() -->
12    <elf-symbol name='_ZN10first_typeC2Ev' type='func-type' binding='global-binding' visibility='default-visibility' alias='_ZN10first_typeC1Ev' is-defined='yes'/>
13    <!-- second_type::second_type() -->
14    <elf-symbol name='_ZN11second_typeC1Ev' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
15    <!-- second_type::second_type() -->
16    <elf-symbol name='_ZN11second_typeC2Ev' type='func-type' binding='global-binding' visibility='default-visibility' alias='_ZN11second_typeC1Ev' is-defined='yes'/>
17    <!-- a::build_first_type() -->
18    <elf-symbol name='_ZN1a16build_first_typeEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
19    <!-- a::build_second_type() -->
20    <elf-symbol name='_ZN1a17build_second_typeEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
21    <!-- _fini -->
22    <elf-symbol name='_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
23    <!-- _init -->
24    <elf-symbol name='_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
25  </elf-function-symbols>
26  <abi-instr address-size='64' path='test2-0.cc' comp-dir-path='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
27    <!-- int -->
28    <type-decl name='int' size-in-bits='32' id='type-id-1'/>
29    <!-- typedef unsigned char character -->
30    <typedef-decl name='character' type-id='type-id-2' id='type-id-3'/>
31    <!-- typedef int integer -->
32    <typedef-decl name='integer' type-id='type-id-1' id='type-id-4'/>
33    <!-- unsigned char -->
34    <type-decl name='unsigned char' size-in-bits='8' id='type-id-2'/>
35    <!-- void -->
36    <type-decl name='void' id='type-id-5'/>
37    <!-- struct first_type -->
38    <class-decl name='first_type' size-in-bits='64' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='4' column='1' id='type-id-6'>
39      <data-member access='public' layout-offset-in-bits='0'>
40        <!-- integer first_type::member0 -->
41        <var-decl name='member0' type-id='type-id-4' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='6' column='1'/>
42      </data-member>
43      <data-member access='public' layout-offset-in-bits='32'>
44        <!-- character first_type::member1 -->
45        <var-decl name='member1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='7' column='1'/>
46      </data-member>
47      <member-function access='public' constructor='yes'>
48        <!-- first_type::first_type() -->
49        <function-decl name='first_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64'>
50          <!-- implicit parameter of type 'first_type*' -->
51          <parameter type-id='type-id-7' is-artificial='yes'/>
52          <!-- void -->
53          <return type-id='type-id-5'/>
54        </function-decl>
55      </member-function>
56      <member-function access='public' constructor='yes'>
57        <!-- first_type::first_type() -->
58        <function-decl name='first_type' mangled-name='_ZN10first_typeC2Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='9' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN10first_typeC2Ev'>
59          <!-- implicit parameter of type 'first_type*' -->
60          <parameter type-id='type-id-7' is-artificial='yes'/>
61          <!-- void -->
62          <return type-id='type-id-5'/>
63        </function-decl>
64      </member-function>
65    </class-decl>
66    <!-- first_type* -->
67    <pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-7'/>
68    <!-- namespace a -->
69    <namespace-decl name='a'>
70      <!-- first_type* a::build_first_type() -->
71      <function-decl name='build_first_type' mangled-name='_ZN1a16build_first_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-0.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN1a16build_first_typeEv'>
72        <!-- first_type* -->
73        <return type-id='type-id-7'/>
74      </function-decl>
75    </namespace-decl>
76  </abi-instr>
77  <abi-instr address-size='64' path='test2-1.cc' comp-dir-path='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
78    <!-- struct second_type -->
79    <class-decl name='second_type' size-in-bits='64' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='12' column='1' id='type-id-8'>
80      <data-member access='public' layout-offset-in-bits='0'>
81        <!-- integer second_type::member0 -->
82        <var-decl name='member0' type-id='type-id-4' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='14' column='1'/>
83      </data-member>
84      <data-member access='public' layout-offset-in-bits='32'>
85        <!-- character second_type::member1 -->
86        <var-decl name='member1' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='15' column='1'/>
87      </data-member>
88      <member-function access='public' constructor='yes'>
89        <!-- second_type::second_type() -->
90        <function-decl name='second_type' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64'>
91          <!-- implicit parameter of type 'second_type*' -->
92          <parameter type-id='type-id-9' is-artificial='yes'/>
93          <!-- void -->
94          <return type-id='type-id-5'/>
95        </function-decl>
96      </member-function>
97      <member-function access='public' constructor='yes'>
98        <!-- second_type::second_type() -->
99        <function-decl name='second_type' mangled-name='_ZN11second_typeC2Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='17' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN11second_typeC2Ev'>
100          <!-- implicit parameter of type 'second_type*' -->
101          <parameter type-id='type-id-9' is-artificial='yes'/>
102          <!-- void -->
103          <return type-id='type-id-5'/>
104        </function-decl>
105      </member-function>
106    </class-decl>
107    <!-- second_type* -->
108    <pointer-type-def type-id='type-id-8' size-in-bits='64' id='type-id-9'/>
109    <!-- namespace a -->
110    <namespace-decl name='a'>
111      <!-- second_type* a::build_second_type() -->
112      <function-decl name='build_second_type' mangled-name='_ZN1a17build_second_typeEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-1.cc' line='13' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN1a17build_second_typeEv'>
113        <!-- second_type* -->
114        <return type-id='type-id-9'/>
115      </function-decl>
116    </namespace-decl>
117  </abi-instr>
118</abi-corpus>
119