aboutsummaryrefslogtreecommitdiff
path: root/test_cases/info_tests/enum/expected/simple_c.elf_stg
blob: 278b0aa4a8b412c680547d64294d35a31f23d3af (plain)
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
version: 0x00000002
root_id: 0x84ea5130  # interface
primitive {
  id: 0x4585663f
  name: "unsigned int"
  encoding: UNSIGNED_INTEGER
  bytesize: 0x00000004
}
enumeration {
  id: 0x226ff690
  name: "Foo"
  definition {
    underlying_type_id: 0x4585663f  # unsigned int
    enumerator {
      name: "FOO_ZERO"
    }
    enumerator {
      name: "FOO_ONE"
      value: 1
    }
    enumerator {
      name: "FOO_TWO"
      value: 2
    }
    enumerator {
      name: "FOO_THREE"
      value: 3
    }
  }
}
elf_symbol {
  id: 0xa58ca0b6
  name: "bar"
  is_defined: true
  symbol_type: OBJECT
  type_id: 0x226ff690  # enum Foo
  full_name: "bar"
}
interface {
  id: 0x84ea5130
  symbol_id: 0xa58ca0b6  # enum Foo bar
}