You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
3.1 KiB

<abi-corpus version='2.0' architecture='elf-amd-x86_64'>
<elf-needed>
<dependency name='libstdc++.so.6'/>
<dependency name='libm.so.6'/>
<dependency name='libgcc_s.so.1'/>
<dependency name='libc.so.6'/>
</elf-needed>
<elf-function-symbols>
<!-- S::foo() const -->
<elf-symbol name='_ZNK1S3fooEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
<!-- _fini -->
<elf-symbol name='_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
<!-- _init -->
<elf-symbol name='_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
</elf-function-symbols>
<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'>
<!-- int -->
<type-decl name='int' size-in-bits='32' id='type-id-1'/>
<!-- void -->
<type-decl name='void' id='type-id-2'/>
<!-- struct S -->
<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-3'>
<data-member access='public' layout-offset-in-bits='0'>
<!-- int S::i -->
<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'/>
</data-member>
<member-function access='public' constructor='yes'>
<!-- S::S() -->
<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'>
<!-- implicit parameter of type 'S*' -->
<parameter type-id='type-id-4' is-artificial='yes'/>
<!-- void -->
<return type-id='type-id-2'/>
</function-decl>
</member-function>
<member-function access='public' const='yes'>
<!-- int S::foo() -->
<function-decl name='foo' mangled-name='_ZNK1S3fooEv' filepath='/home/dodji/git/libabigail/master/tests/data/test-read-dwarf/test8-qualified-this-pointer.cc' line='14' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZNK1S3fooEv'>
<!-- implicit parameter of type 'const S* const' -->
<parameter type-id='type-id-5' name='this' is-artificial='yes'/>
<!-- int -->
<return type-id='type-id-1'/>
</function-decl>
</member-function>
</class-decl>
<!-- S* -->
<pointer-type-def type-id='type-id-3' size-in-bits='64' id='type-id-4'/>
<!-- const S -->
<qualified-type-def type-id='type-id-3' const='yes' id='type-id-6'/>
<!-- const S* -->
<pointer-type-def type-id='type-id-6' size-in-bits='64' id='type-id-7'/>
<!-- const S* const -->
<qualified-type-def type-id='type-id-7' const='yes' id='type-id-5'/>
</abi-instr>
</abi-corpus>