mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
53a457743b
This reverts reverting commit fc40a03323a4b265ccbed34a07e281b13c5e8367 and fixes LLD (MachO/wasm) tests that failed previously.
35 lines
774 B
YAML
35 lines
774 B
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: TYPE
|
|
Signatures:
|
|
- Index: 0
|
|
ParamTypes: []
|
|
ReturnTypes: []
|
|
- 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: 0x1
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: START
|
|
# CHECK: StartFunction: 1
|
|
# CHECK: ...
|