1<abi-corpus version='2.0' path='data/test-read-dwarf/test1'>
2  <elf-needed>
3    <dependency name='libstdc++.so.6'/>
4    <dependency name='libm.so.6'/>
5    <dependency name='libgcc_s.so.1'/>
6    <dependency name='libc.so.6'/>
7  </elf-needed>
8  <elf-function-symbols>
9    <elf-symbol name='_Z3fooR2s0' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
10    <elf-symbol name='_ZN2b0C1Ev' type='func-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
11    <elf-symbol name='_ZN2b0C2Ev' type='func-type' binding='weak-binding' visibility='default-visibility' alias='_ZN2b0C1Ev' is-defined='yes'/>
12    <elf-symbol name='_ZN2b1C1Ev' type='func-type' binding='weak-binding' visibility='default-visibility' alias='_ZN2b1C2Ev' is-defined='yes'/>
13    <elf-symbol name='_ZN2b1C2Ev' type='func-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
14    <elf-symbol name='_ZN2s07mem_funEv' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
15    <elf-symbol name='_ZN2s0C1Ev' type='func-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
16    <elf-symbol name='_ZN2s0D1Ev' type='func-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
17    <elf-symbol name='__libc_csu_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
18    <elf-symbol name='__libc_csu_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
19    <elf-symbol name='_fini' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
20    <elf-symbol name='_init' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
21    <elf-symbol name='_start' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
22    <elf-symbol name='main' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
23  </elf-function-symbols>
24  <elf-variable-symbols>
25    <elf-symbol name='_IO_stdin_used' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
26    <elf-symbol name='_ZTI2b0' size='16' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
27    <elf-symbol name='_ZTI2b1' size='16' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
28    <elf-symbol name='_ZTI2s0' size='56' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
29    <elf-symbol name='_ZTS2b0' size='4' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
30    <elf-symbol name='_ZTS2b1' size='4' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
31    <elf-symbol name='_ZTS2s0' size='4' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
32    <elf-symbol name='_ZTT2s0' size='8' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
33    <elf-symbol name='_ZTV2s0' size='32' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
34    <elf-symbol name='_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3' size='88' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
35    <elf-symbol name='_ZTVN10__cxxabiv121__vmi_class_type_infoE@@CXXABI_1.3' size='88' type='object-type' binding='weak-binding' visibility='default-visibility' is-defined='yes'/>
36  </elf-variable-symbols>
37  <abi-instr address-size='64' path='test1.cc' comp-dir-path='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf' language='LANG_C_plus_plus'>
38    <type-decl name='char' size-in-bits='8' id='a84c031d'/>
39    <type-decl name='double' size-in-bits='64' id='a0eb0f08'/>
40    <type-decl name='int' size-in-bits='32' id='95e97e5e'/>
41    <type-decl name='long long int' size-in-bits='64' id='1eb56b1e'/>
42    <type-decl name='unsigned char' size-in-bits='8' id='002ac4a6'/>
43    <type-decl name='void' id='48b5725f'/>
44    <class-decl name='b0' size-in-bits='128' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='1' column='1' id='96c6f7f7'>
45      <data-member access='public' layout-offset-in-bits='0'>
46        <var-decl name='m0' type-id='1eb56b1e' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='3' column='1'/>
47      </data-member>
48      <data-member access='public' layout-offset-in-bits='64'>
49        <var-decl name='m1' type-id='a84c031d' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='4' column='1'/>
50      </data-member>
51    </class-decl>
52    <class-decl name='b1' size-in-bits='128' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='7' column='1' id='95c6f664'>
53      <data-member access='public' layout-offset-in-bits='0'>
54        <var-decl name='m0' type-id='a0eb0f08' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='9' column='1'/>
55      </data-member>
56      <data-member access='public' layout-offset-in-bits='64'>
57        <var-decl name='m1' type-id='a84c031d' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='10' column='1'/>
58      </data-member>
59    </class-decl>
60    <class-decl name='s0' size-in-bits='384' is-struct='yes' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='13' column='1' id='10ec88de'>
61      <base-class access='public' layout-offset-in-bits='192' is-virtual='yes' type-id='96c6f7f7'/>
62      <base-class access='public' layout-offset-in-bits='256' is-virtual='yes' type-id='95c6f664'/>
63      <member-type access='public'>
64        <typedef-decl name='integer' type-id='95e97e5e' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='15' column='1' id='61814d27'/>
65      </member-type>
66      <member-type access='public'>
67        <typedef-decl name='byte' type-id='002ac4a6' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='16' column='1' id='92bf8355'/>
68      </member-type>
69      <data-member access='public' layout-offset-in-bits='64'>
70        <var-decl name='m0' type-id='61814d27' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='18' column='1'/>
71      </data-member>
72      <data-member access='public' layout-offset-in-bits='96'>
73        <var-decl name='m1' type-id='92bf8355' visibility='default' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='19' column='1'/>
74      </data-member>
75      <member-function access='public' constructor='yes'>
76        <function-decl name='s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64'>
77          <parameter type-id='a1a34114' is-artificial='yes'/>
78          <parameter type-id='95e97e5e' is-artificial='yes'/>
79          <parameter type-id='63e171df' is-artificial='yes'/>
80          <return type-id='48b5725f'/>
81        </function-decl>
82      </member-function>
83      <member-function access='public' destructor='yes'>
84        <function-decl name='~s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64'>
85          <parameter type-id='a1a34114' is-artificial='yes'/>
86          <parameter type-id='95e97e5e' is-artificial='yes'/>
87          <parameter type-id='63e171df' is-artificial='yes'/>
88          <return type-id='48b5725f'/>
89        </function-decl>
90      </member-function>
91      <member-function access='public' constructor='yes'>
92        <function-decl name='s0' mangled-name='_ZN2s0C1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='21' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s0C1Ev'>
93          <parameter type-id='a1a34114' is-artificial='yes'/>
94          <parameter type-id='95e97e5e' is-artificial='yes'/>
95          <parameter type-id='63e171df' is-artificial='yes'/>
96          <return type-id='48b5725f'/>
97        </function-decl>
98      </member-function>
99      <member-function access='public' destructor='yes'>
100        <function-decl name='~s0' mangled-name='_ZN2s0D1Ev' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='27' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s0D1Ev'>
101          <parameter type-id='a1a34114' is-artificial='yes'/>
102          <parameter type-id='95e97e5e' is-artificial='yes'/>
103          <parameter type-id='63e171df' is-artificial='yes'/>
104          <return type-id='48b5725f'/>
105        </function-decl>
106      </member-function>
107      <member-function access='public'>
108        <function-decl name='mem_fun' mangled-name='_ZN2s07mem_funEv' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='36' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_ZN2s07mem_funEv'>
109          <parameter type-id='f2bcd35f' name='this' is-artificial='yes'/>
110          <return type-id='61814d27'/>
111        </function-decl>
112      </member-function>
113    </class-decl>
114    <qualified-type-def type-id='95a32e30' id='95a32e31'/>
115    <reference-type-def kind='lvalue' type-id='10ec88de' size-in-bits='64' id='95a32e30'/>
116    <pointer-type-def type-id='10ec88de' size-in-bits='64' id='a1a34114'/>
117    <qualified-type-def type-id='a1a34114' const='yes' id='f2bcd35f'/>
118    <pointer-type-def type-id='48b5725f' size-in-bits='64' id='eaa32e2f'/>
119    <pointer-type-def type-id='eaa32e2f' size-in-bits='64' id='63e171df'/>
120    <function-decl name='foo' mangled-name='_Z3fooR2s0' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='_Z3fooR2s0'>
121      <parameter type-id='95a32e31' name='s' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='42' column='1'/>
122      <return type-id='48b5725f'/>
123    </function-decl>
124    <function-decl name='main' mangled-name='main' filepath='/home/dodji/git/libabigail/dwarf/tests/data/test-read-dwarf/test1.cc' line='48' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='main'>
125      <return type-id='95e97e5e'/>
126    </function-decl>
127  </abi-instr>
128</abi-corpus>
129