libabigail/tests/data/test-bidiff/test-struct1-v1.cc.bi
Dodji Seketeli c5b81de47d Add support for bidiff regression testing
* tests/data/test-bidiff/test-enum0-v0.cc.bi: New input file.
	* tests/data/test-bidiff/test-enum0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum0-report.diff: Likewise.
	* tests/data/test-bidiff/test-enum1-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum1-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-enum1-report.txt: Likewise.
	* tests/data/test-bidiff/test-qual-type0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-qual-type0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-qual-type0-report.txt: Likewise.
	* tests/data/test-bidiff/test-struct0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct0-report.txt: Likewise.
	* tests/data/test-bidiff/test-struct1-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct1-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-struct1-report.txt: Likewise.
	* tests/data/test-bidiff/test-var0-v0.cc.bi: Likewise.
	* tests/data/test-bidiff/test-var0-v1.cc.bi: Likewise.
	* tests/data/test-bidiff/test-var0-report.txt: Likewise.
	* tests/test-bidiff.cc: New file.
	* tests/Makefile.am: Build the new runtestbidiff regression test
	and add the above to the source distribution.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-11-29 14:32:30 +01:00

89 lines
6.1 KiB
Plaintext

<abi-instr version='1.0'>
<type-decl name='char' size-in-bits='8' alignment-in-bits='8' id='type-id-1'/>
<type-decl name='double' size-in-bits='64' alignment-in-bits='64' id='type-id-2'/>
<type-decl name='unsigned int' size-in-bits='32' alignment-in-bits='32' id='type-id-3'/>
<class-decl name='s0' visibility='default' is-declaration-only='yes' id='type-id-4'/>
<pointer-type-def type-id='type-id-4' size-in-bits='64' alignment-in-bits='64' id='type-id-5'/>
<type-decl name='void' alignment-in-bits='8' id='type-id-6'/>
<qualified-type-def type-id='type-id-4' const='yes' filepath='../../abitests/test-struct1-v1.cc' line='1' column='8' id='type-id-7'/>
<pointer-type-def type-id='type-id-7' size-in-bits='64' alignment-in-bits='64' id='type-id-8'/>
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-9'/>
<class-decl name='s0' size-in-bits='256' alignment-in-bits='64' visibility='default' filepath='../../abitests/test-struct1-v1.cc' line='1' column='8' def-of-decl-id='type-id-4' id='type-id-10'>
<member-type access='public'>
<typedef-decl name='s0' type-id='type-id-4' filepath='../../abitests/test-struct1-v1.cc' line='2' column='1' id='type-id-11'/>
</member-type>
<member-type access='public'>
<typedef-decl name='number_type' type-id='type-id-1' filepath='../../abitests/test-struct1-v1.cc' line='7' column='16' id='type-id-12'/>
</member-type>
<member-type access='public'>
<typedef-decl name='grrr' type-id='type-id-2' filepath='../../abitests/test-struct1-v1.cc' line='8' column='18' id='type-id-13'/>
</member-type>
<data-member access='public' layout-offset-in-bits='64'>
<var-decl name='m0' type-id='type-id-1' visibility='default' filepath='../../abitests/test-struct1-v1.cc' line='3' column='8'/>
</data-member>
<data-member access='public' layout-offset-in-bits='128'>
<var-decl name='m01' type-id='type-id-2' visibility='default' filepath='../../abitests/test-struct1-v1.cc' line='4' column='10'/>
</data-member>
<data-member access='public' layout-offset-in-bits='192'>
<var-decl name='m2' type-id='type-id-3' visibility='default' filepath='../../abitests/test-struct1-v1.cc' line='5' column='12'/>
</data-member>
<member-function access='public' constructor='yes'>
<function-decl name='__base_ctor ' mangled-name='_ZN2s0C2Ev' filepath='../../abitests/test-struct1-v1.cc' line='24' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-6'/>
</function-decl>
</member-function>
<member-function access='public' constructor='yes'>
<function-decl name='__comp_ctor ' mangled-name='_ZN2s0C1Ev' filepath='../../abitests/test-struct1-v1.cc' line='24' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-6'/>
</function-decl>
</member-function>
<member-function access='public' destructor='yes'>
<function-decl name='__base_dtor ' mangled-name='_ZN2s0D2Ev' filepath='../../abitests/test-struct1-v1.cc' line='28' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-6'/>
</function-decl>
</member-function>
<member-function access='public' destructor='yes'>
<function-decl name='__comp_dtor ' mangled-name='_ZN2s0D1Ev' filepath='../../abitests/test-struct1-v1.cc' line='28' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-6'/>
</function-decl>
</member-function>
<member-function access='public' destructor='yes' vtable-offset='1'>
<function-decl name='__deleting_dtor ' mangled-name='_ZN2s0D0Ev' filepath='../../abitests/test-struct1-v1.cc' line='28' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-6'/>
</function-decl>
</member-function>
<member-function access='public' const='yes'>
<function-decl name='foo' mangled-name='_ZNK2s03fooEv' filepath='../../abitests/test-struct1-v1.cc' line='33' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-8'/>
</function-decl>
</member-function>
<member-function access='public'>
<function-decl name='foo' mangled-name='_ZN2s03fooEv' filepath='../../abitests/test-struct1-v1.cc' line='37' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-5'/>
<return type-id='type-id-9'/>
</function-decl>
</member-function>
<member-function access='public' const='yes' vtable-offset='2'>
<function-decl name='foo' mangled-name='_ZNK2s03fooEic' filepath='../../abitests/test-struct1-v1.cc' line='44' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-8'/>
<parameter type-id='type-id-9'/>
<parameter type-id='type-id-1'/>
<return type-id='type-id-9'/>
</function-decl>
</member-function>
</class-decl>
<reference-type-def kind='lvalue' type-id='type-id-10' size-in-bits='64' alignment-in-bits='64' id='type-id-14'/>
<function-decl name='baz' mangled-name='_Z3bazR2s0' filepath='../../abitests/test-struct1-v1.cc' line='48' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
<parameter type-id='type-id-14'/>
<return type-id='type-id-9'/>
</function-decl>
<class-decl name='__class_type_info_pseudo' size-in-bits='128' alignment-in-bits='64' visibility='default' id='type-id-15'/>
<qualified-type-def type-id='type-id-15' const='yes' id='type-id-16'/>
<var-decl name='_ZTI2s0' type-id='type-id-16' mangled-name='_ZTI2s0' visibility='default' binding='weak' filepath='../../abitests/test-struct1-v1.cc' line='1' column='8'/>
</abi-instr>