mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[WebAssembly] Fix tests with invalid yaml (required CODE section missing)
Differential Revision: https://reviews.llvm.org/D44023 llvm-svn: 326692
This commit is contained in:
parent
bcbc464e13
commit
924f216a98
@ -38,6 +38,14 @@ Sections:
|
||||
- Name: table_export
|
||||
Kind: TABLE
|
||||
Index: 0
|
||||
- Type: CODE
|
||||
Functions:
|
||||
- Index: 0
|
||||
Locals:
|
||||
Body: 0B
|
||||
- Index: 1
|
||||
Locals:
|
||||
Body: 0B
|
||||
...
|
||||
# CHECK: --- !WASM
|
||||
# CHECK: FileHeader:
|
||||
|
@ -14,6 +14,14 @@ Sections:
|
||||
- I32
|
||||
- Type: FUNCTION
|
||||
FunctionTypes: [ 1, 0 ]
|
||||
- Type: CODE
|
||||
Functions:
|
||||
- Index: 0
|
||||
Locals:
|
||||
Body: 0B
|
||||
- Index: 1
|
||||
Locals:
|
||||
Body: 0B
|
||||
...
|
||||
# CHECK: --- !WASM
|
||||
# CHECK: FileHeader:
|
||||
|
@ -7,14 +7,23 @@ Sections:
|
||||
- Type: TYPE
|
||||
Signatures:
|
||||
- Index: 0
|
||||
ReturnType: I32
|
||||
ReturnType: NORESULT
|
||||
ParamTypes:
|
||||
- F32
|
||||
- F32
|
||||
- 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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user