summaryrefslogtreecommitdiffstats
path: root/llvm/test/ObjectYAML/wasm/start_section.yaml
blob: 7d5e5964395730ecbcdc7c337d7ebc24a57eda98 (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
# RUN: yaml2obj %s | obj2yaml | FileCheck %s

--- !WASM
FileHeader:
  Version:         0x00000001
Sections:
  - Type:            TYPE
    Signatures:
      - Index:           0
        ReturnType:      I32
        ParamTypes:
          - F32
          - F32
  - Type:            FUNCTION
    FunctionTypes: [ 0, 0, 0 ]
  - Type:            START
    StartFunction:   1
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK:   Version:           0x00000001
# CHECK: Sections:
# CHECK:  - Type:            START
# CHECK:    StartFunction:   1
# CHECK: ...
OpenPOWER on IntegriCloud