llvm.org GIT mirror llvm / a60bc62
[WebAssembly] Fix tests with invalid yaml (required CODE section missing) Differential Revision: https://reviews.llvm.org/D44023 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326692 91177308-0d34-0410-b5e6-96231b3b80d8 Nicholas Wilson 1 year, 5 months ago
3 changed file(s) with 28 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3737 - Name: table_export
3838 Kind: TABLE
3939 Index: 0
40 - Type: CODE
41 Functions:
42 - Index: 0
43 Locals:
44 Body: 0B
45 - Index: 1
46 Locals:
47 Body: 0B
4048 ...
4149 # CHECK: --- !WASM
4250 # CHECK: FileHeader:
1313 - I32
1414 - Type: FUNCTION
1515 FunctionTypes: [ 1, 0 ]
16 - Type: CODE
17 Functions:
18 - Index: 0
19 Locals:
20 Body: 0B
21 - Index: 1
22 Locals:
23 Body: 0B
1624 ...
1725 # CHECK: --- !WASM
1826 # CHECK: FileHeader:
66 - Type: TYPE
77 Signatures:
88 - Index: 0
9 ReturnType: I32
9 ReturnType: NORESULT
1010 ParamTypes:
11 - F32
12 - F32
1311 - Type: FUNCTION
1412 FunctionTypes: [ 0, 0, 0 ]
1513 - Type: START
1614 StartFunction: 1
15 - Type: CODE
16 Functions:
17 - Index: 0
18 Locals:
19 Body: 0B
20 - Index: 1
21 Locals:
22 Body: 0B
23 - Index: 2
24 Locals:
25 Body: 0B
1726 ...
1827 # CHECK: --- !WASM
1928 # CHECK: FileHeader: