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
|
<abi-corpus version='2.4'>
<elf-function-symbols>
<!-- foo(S&) -->
<elf-symbol name='_Z3fooR1S' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
</elf-function-symbols>
<abi-instr address-size='64' path='test7.cc' comp-dir-path='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
<!-- char -->
<type-decl name='char' size-in-bits='8' hash='65b2d157027b431a' id='type-id-1'/>
<!-- char*[7] -->
<array-type-def dimensions='1' type-id='type-id-2' size-in-bits='448' hash='74e3ad5d436eff71' id='type-id-3'>
<!-- <anonymous range>[7] -->
<subrange length='7' lower-bound='0' upper-bound='6' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='58190901bcecd086' id='type-id-5'/>
</array-type-def>
<!-- char[1] -->
<array-type-def dimensions='1' type-id='type-id-1' size-in-bits='8' hash='f7aed1c6cc6e7b3c' id='type-id-6'>
<!-- <anonymous range>[1] -->
<subrange length='1' lower-bound='0' upper-bound='0' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='eba0a2b392137dcb' id='type-id-7'/>
</array-type-def>
<!-- char[] -->
<array-type-def dimensions='1' type-id='type-id-1' size-in-bits='unknown' hash='a72b7e8bce2feef6' id='type-id-8'>
<!-- <anonymous range>[] -->
<subrange length='unknown' lower-bound='0' upper-bound='-1' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='679a37cd46fc8bdb' id='type-id-9'/>
</array-type-def>
<!-- double -->
<type-decl name='double' size-in-bits='64' hash='e9e9b320886d9aa6' id='type-id-10'/>
<!-- double[5][3] -->
<array-type-def dimensions='2' type-id='type-id-10' size-in-bits='960' hash='31002392392dd18a' id='type-id-11'>
<!-- <anonymous range>[5] -->
<subrange length='5' lower-bound='0' upper-bound='4' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='5aa5cef1e1be46c9' id='type-id-12'/>
<!-- <anonymous range>[3] -->
<subrange length='3' lower-bound='0' upper-bound='2' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='30d99d19f0f4b2ea' id='type-id-13'/>
</array-type-def>
<!-- int -->
<type-decl name='int' size-in-bits='32' hash='09d17c08f594edc7' id='type-id-14'/>
<!-- int*(*[10])[4] -->
<array-type-def dimensions='1' type-id='type-id-15' size-in-bits='640' hash='449e4bcdccdee504' id='type-id-16'>
<!-- <anonymous range>[10] -->
<subrange length='10' lower-bound='0' upper-bound='9' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='4e72a2f569b234f4' id='type-id-17'/>
</array-type-def>
<!-- int*[4] -->
<array-type-def dimensions='1' type-id='type-id-18' size-in-bits='256' hash='08492ad20c45bd9d' id='type-id-19'>
<!-- <anonymous range>[4] -->
<subrange length='4' lower-bound='0' upper-bound='3' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='cee611f4a73e486c' id='type-id-20'/>
</array-type-def>
<!-- int[5] -->
<array-type-def dimensions='1' type-id='type-id-14' size-in-bits='160' hash='f6adbc622c614e05' id='type-id-21'>
<!-- <anonymous range>[5] -->
<subrange length='5' lower-bound='0' upper-bound='4' type-id='type-id-4' size-in-bits='64' is-anonymous='yes' hash='5aa5cef1e1be46c9' id='type-id-12'/>
</array-type-def>
<!-- sizetype -->
<type-decl name='sizetype' size-in-bits='64' hash='3e84f1a1648448f5' id='type-id-4'/>
<!-- struct S -->
<class-decl name='S' is-struct='yes' visibility='default' size-in-bits='2304' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='1' column='1' hash='49c8d3c1c92861d5' id='type-id-22'>
<data-member access='public' layout-offset-in-bits='0'>
<!-- int S::a[5] -->
<var-decl name='a' type-id='type-id-21' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='3' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='192'>
<!-- char* S::b[7] -->
<var-decl name='b' type-id='type-id-3' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='4' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='640'>
<!-- double S::c[5][3] -->
<var-decl name='c' type-id='type-id-11' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='5' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='1600'>
<!-- int*(* S::d[10])[4] -->
<var-decl name='d' type-id='type-id-16' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='6' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='2240'>
<!-- char S::e[1] -->
<var-decl name='e' type-id='type-id-6' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='7' column='1'/>
</data-member>
<data-member access='public' layout-offset-in-bits='2248'>
<!-- char S::f[] -->
<var-decl name='f' type-id='type-id-8' visibility='default' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='8' column='1'/>
</data-member>
</class-decl>
<!-- S& -->
<reference-type-def kind='lvalue' type-id='type-id-22' size-in-bits='64' hash='34ff9cd22276388f' id='type-id-23'/>
<!-- char* -->
<pointer-type-def type-id='type-id-1' size-in-bits='64' hash='e533f42d1dd4942c' id='type-id-2'/>
<!-- int* -->
<pointer-type-def type-id='type-id-14' size-in-bits='64' hash='3fd83b2c14ae2f2f' id='type-id-18'/>
<!-- int*(*)[4] -->
<pointer-type-def type-id='type-id-19' size-in-bits='64' hash='0cfca0e281fb0a5c' id='type-id-15'/>
<!-- int foo(S&) -->
<function-decl name='foo' mangled-name='_Z3fooR1S' filepath='/home/ooprala/rh/u/libabigail/tests/data/test-read-dwarf/test7.cc' line='11' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR1S' hash='c4ba3a67b022926a'>
<!-- parameter of type 'S&' -->
<parameter type-id='type-id-23'/>
<!-- int -->
<return type-id='type-id-14'/>
</function-decl>
</abi-instr>
</abi-corpus>
|