mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-14 09:26:22 +00:00

Differential Revision: https://reviews.llvm.org/D44023 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326692 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
761 B
YAML
33 lines
761 B
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: TYPE
|
|
Signatures:
|
|
- Index: 0
|
|
ReturnType: NORESULT
|
|
ParamTypes:
|
|
- Index: 1
|
|
ReturnType: NORESULT
|
|
ParamTypes:
|
|
- I32
|
|
- Type: FUNCTION
|
|
FunctionTypes: [ 1, 0 ]
|
|
- Type: CODE
|
|
Functions:
|
|
- Index: 0
|
|
Locals:
|
|
Body: 0B
|
|
- Index: 1
|
|
Locals:
|
|
Body: 0B
|
|
...
|
|
# CHECK: --- !WASM
|
|
# CHECK: FileHeader:
|
|
# CHECK: Version: 0x00000001
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: FUNCTION
|
|
# CHECK: FunctionTypes: [ 1, 0 ]
|
|
# CHECK: ...
|