• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<abi-corpus version='2.1' path='data/test-read-ctf/test-enum.o'>
2  <elf-variable-symbols>
3    <elf-symbol name='bar' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
4    <elf-symbol name='foo' size='4' type='object-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
5  </elf-variable-symbols>
6  <abi-instr address-size='64' language='LANG_C'>
7    <type-decl name='' is-anonymous='yes' size-in-bits='32' alignment-in-bits='32' id='type-id-1'/>
8    <enum-decl name='e' linkage-name='e' id='type-id-2'>
9      <underlying-type type-id='type-id-1'/>
10      <enumerator name='ENUMSAMPLE_1' value='0'/>
11      <enumerator name='ENUMSAMPLE_2' value='1'/>
12    </enum-decl>
13    <enum-decl name='ie' linkage-name='ie' id='type-id-3'>
14      <underlying-type type-id='type-id-1'/>
15      <enumerator name='IENUMSAMPLE_1' value='-10'/>
16      <enumerator name='IENUMSAMPLE_2' value='-9'/>
17      <enumerator name='IENUMSAMPLE_3' value='-8'/>
18    </enum-decl>
19    <var-decl name='foo' type-id='type-id-2' mangled-name='foo' visibility='default' elf-symbol-id='foo'/>
20    <var-decl name='bar' type-id='type-id-3' mangled-name='bar' visibility='default' elf-symbol-id='bar'/>
21  </abi-instr>
22</abi-corpus>
23