1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
<abi-corpus version='2.4'>
<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>
<!-- first_type::first_type() -->
<elf-symbol name='_ZN10first_typeC1Ev' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
<!-- first_type::first_type() -->
<elf-symbol name='_ZN10first_typeC2Ev' type='func-type' binding='global-binding' visibility='default-visibility' alias='_ZN10first_typeC1Ev' is-defined='yes'/>
<!-- second_type::second_type() -->
<elf-symbol name='_ZN11second_typeC1Ev' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
<!-- second_type::second_type() -->
<elf-symbol name='_ZN11second_typeC2Ev' type='func-type' binding='global-binding' visibility='default-visibility' alias='_ZN11second_typeC1Ev' is-defined='yes'/>
<!-- a::build_first_type() -->
<elf-symbol name='_ZN1a16build_first_typeEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
<!-- a::build_second_type() -->
<elf-symbol name='_ZN1a17build_second_typeEv' 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='test2-0.cc' comp-dir-path='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
<!-- int -->
<type-decl name='int' size-in-bits='32' hash='09d17c08f594edc7' id='type-id-1'/>
<!-- struct first_type -->
<class-decl name='first_type' is-struct='yes' visibility='default' size-in-bits='64' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='4' column='1' hash='e842250c2bd837f4' id='type-id-2'>
<data-member access='public' layout-offset-in-bits='0'>
<!-- integer first_type::member0 -->
<var-decl name='member0' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='6' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='32'>
<!-- character first_type::member1 -->
<var-decl name='member1' type-id='type-id-4' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='7' column='1'/>
</data-member>
<member-function access='public' constructor='yes'>
<!-- first_type::first_type() -->
<function-decl name='first_type' mangled-name='_ZN10first_typeC2Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-0.cc' line='5' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN10first_typeC2Ev' hash='7f32ffea222edbe7'>
<!-- implicit parameter of type 'first_type*' -->
<parameter type-id='type-id-5' is-artificial='yes'/>
<!-- void -->
<return type-id='type-id-6'/>
</function-decl>
</member-function>
</class-decl>
<!-- typedef unsigned char character -->
<typedef-decl name='character' type-id='type-id-7' size-in-bits='8' hash='6ebac62b3366db68' id='type-id-4'/>
<!-- typedef int integer -->
<typedef-decl name='integer' type-id='type-id-1' size-in-bits='32' hash='09d17c08f594edc7' id='type-id-3'/>
<!-- unsigned char -->
<type-decl name='unsigned char' size-in-bits='8' hash='6ebac62b3366db68' id='type-id-7'/>
<!-- first_type* -->
<pointer-type-def type-id='type-id-2' size-in-bits='64' hash='237e605fd70da322' id='type-id-5'/>
<!-- first_type* const -->
<qualified-type-def type-id='type-id-5' const='yes' hash='ab7b072322d68051' id='type-id-8'/>
<!-- namespace a -->
<namespace-decl name='a'>
<!-- first_type* a::build_first_type() -->
<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' hash='17fdf7d01382f8a6'>
<!-- first_type* -->
<return type-id='type-id-5'/>
</function-decl>
</namespace-decl>
<!-- void -->
<type-decl name='void' id='type-id-6'/>
</abi-instr>
<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'>
<!-- struct second_type -->
<class-decl name='second_type' is-struct='yes' visibility='default' size-in-bits='64' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='12' column='1' hash='1797d27bdbec2aef' id='type-id-9'>
<data-member access='public' layout-offset-in-bits='0'>
<!-- integer second_type::member0 -->
<var-decl name='member0' type-id='type-id-3' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='14' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='32'>
<!-- character second_type::member1 -->
<var-decl name='member1' type-id='type-id-4' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2.h' line='15' column='1'/>
</data-member>
<member-function access='public' constructor='yes'>
<!-- second_type::second_type() -->
<function-decl name='second_type' mangled-name='_ZN11second_typeC2Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test2-1.cc' line='5' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN11second_typeC2Ev' hash='7f32ffea222edbe7'>
<!-- implicit parameter of type 'second_type*' -->
<parameter type-id='type-id-10' is-artificial='yes'/>
<!-- void -->
<return type-id='type-id-6'/>
</function-decl>
</member-function>
</class-decl>
<!-- second_type* -->
<pointer-type-def type-id='type-id-9' size-in-bits='64' hash='af968a9f7dae987b' id='type-id-10'/>
<!-- second_type* const -->
<qualified-type-def type-id='type-id-10' const='yes' hash='4a1301e245a615b5' id='type-id-11'/>
<!-- namespace a -->
<namespace-decl name='a'>
<!-- second_type* a::build_second_type() -->
<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' hash='83a9a753c9c80ad7'>
<!-- second_type* -->
<return type-id='type-id-10'/>
</function-decl>
</namespace-decl>
</abi-instr>
</abi-corpus>
|