mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
924f216a98
Differential Revision: https://reviews.llvm.org/D44023 llvm-svn: 326692
35 lines
779 B
YAML
35 lines
779 B
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: TYPE
|
|
Signatures:
|
|
- Index: 0
|
|
ReturnType: NORESULT
|
|
ParamTypes:
|
|
- Type: FUNCTION
|
|
FunctionTypes: [ 0, 0, 0 ]
|
|
- Type: START
|
|
StartFunction: 1
|
|
- Type: CODE
|
|
Functions:
|
|
- Index: 0
|
|
Locals:
|
|
Body: 0B
|
|
- Index: 1
|
|
Locals:
|
|
Body: 0B
|
|
- Index: 2
|
|
Locals:
|
|
Body: 0B
|
|
...
|
|
# CHECK: --- !WASM
|
|
# CHECK: FileHeader:
|
|
# CHECK: Version: 0x00000001
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: START
|
|
# CHECK: StartFunction: 1
|
|
# CHECK: ...
|