mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-27 12:12:10 +00:00
c94ef0da7a
* src/abg-ir.h (class_decl::base_spec::base_spec): Move this out-of-line. Add a new constructor for clients compiled without RTTI. * src/abg-ir.cc (class_decl::base_spec::base_spec): This is now here out-of-line. Define the new constructor for clients compiled without RTTI. * tests/data/test-read-write/test19.xml: New test case input for base classes. * tests/test-read-write.cc: De-serialize and serialize the new test case input above.
28 lines
1.9 KiB
XML
28 lines
1.9 KiB
XML
<abi-instr version='1.0'>
|
|
<type-decl name='int' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
|
|
<class-decl name='B0' size-in-bits='32' alignment-in-bits='32' visibility='default' filepath='../../prtests/test9.cc' line='1' column='7' id='type-id-2'>
|
|
<data-member access='private' layout-offset-in-bits='0'>
|
|
<var-decl name='m0' type-id='type-id-1' visibility='default' filepath='../../prtests/test9.cc' line='3' column='7'/>
|
|
</data-member>
|
|
</class-decl>
|
|
<class-decl name='B1' size-in-bits='32' alignment-in-bits='32' visibility='default' filepath='../../prtests/test9.cc' line='20' column='7' id='type-id-3'>
|
|
<data-member access='private' layout-offset-in-bits='0'>
|
|
<var-decl name='m0' type-id='type-id-1' visibility='default' filepath='../../prtests/test9.cc' line='22' column='7'/>
|
|
</data-member>
|
|
</class-decl>
|
|
<class-decl name='S' size-in-bits='96' alignment-in-bits='32' visibility='default' filepath='../../prtests/test9.cc' line='39' column='7' id='type-id-4'>
|
|
<base-class access='public' type-id='type-id-2'/>
|
|
<base-class access='public' type-id='type-id-3'/>
|
|
<data-member access='private' layout-offset-in-bits='64'>
|
|
<var-decl name='m0' type-id='type-id-1' visibility='default' filepath='../../prtests/test9.cc' line='41' column='7'/>
|
|
</data-member>
|
|
</class-decl>
|
|
<qualified-type-def type-id='type-id-4' const='yes' filepath='../../prtests/test9.cc' line='39' column='7' id='type-id-5'/>
|
|
<reference-type-def kind='lvalue' type-id='type-id-5' size-in-bits='64' alignment-in-bits='64' id='type-id-6'/>
|
|
<type-decl name='void' alignment-in-bits='8' id='type-id-7'/>
|
|
<function-decl name='foo' mangled-name='_Z3fooRK1S' filepath='../../prtests/test9.cc' line='59' column='1' visibility='default' binding='global' size-in-bits='8' alignment-in-bits='8'>
|
|
<parameter type-id='type-id-6'/>
|
|
<return type-id='type-id-7'/>
|
|
</function-decl>
|
|
</abi-instr>
|