• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<abi-corpus version='2.1'>
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    <!-- S::foo() const -->
10    <elf-symbol name='_ZNK1S3fooEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
11    <!-- _fini -->
12    <elf-symbol name='_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
13    <!-- _init -->
14    <elf-symbol name='_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
15  </elf-function-symbols>
16  <abi-instr address-size='64' path='test8-qualified-this-pointer.cc' comp-dir-path='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
17    <!-- int -->
18    <type-decl name='int' size-in-bits='32' id='type-id-1'/>
19    <!-- struct S -->
20    <class-decl name='S' size-in-bits='32' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='1' column='1' id='type-id-2'>
21      <data-member access='public' layout-offset-in-bits='0'>
22        <!-- int S::i -->
23        <var-decl name='i' type-id='type-id-1' visibility='default' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='3' column='1'/>
24      </data-member>
25      <member-function access='public' constructor='yes'>
26        <!-- S::S() -->
27        <function-decl name='S' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='5' column='1' visibility='default' binding='global' size-in-bits='64'>
28          <!-- implicit parameter of type 'S*' -->
29          <parameter type-id='type-id-3' is-artificial='yes'/>
30          <!-- void -->
31          <return type-id='type-id-4'/>
32        </function-decl>
33      </member-function>
34      <member-function access='public' const='yes'>
35        <!-- int S::foo() -->
36        <function-decl name='foo' mangled-name='_ZNK1S3fooEv' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='10' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZNK1S3fooEv'>
37          <!-- implicit parameter of type 'const S*' -->
38          <parameter type-id='type-id-5' is-artificial='yes'/>
39          <!-- int -->
40          <return type-id='type-id-1'/>
41        </function-decl>
42      </member-function>
43    </class-decl>
44    <!-- S* -->
45    <pointer-type-def type-id='type-id-2' size-in-bits='64' id='type-id-3'/>
46    <!-- const S -->
47    <qualified-type-def type-id='type-id-2' const='yes' id='type-id-6'/>
48    <!-- const S* -->
49    <pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-5'/>
50    <!-- void -->
51    <type-decl name='void' id='type-id-4'/>
52  </abi-instr>
53</abi-corpus>
54