mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
53a457743b
This reverts reverting commit fc40a03323a4b265ccbed34a07e281b13c5e8367 and fixes LLD (MachO/wasm) tests that failed previously.
28 lines
701 B
YAML
28 lines
701 B
YAML
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
|
|
--- !WASM
|
|
FileHeader:
|
|
Version: 0x00000001
|
|
Sections:
|
|
- Type: GLOBAL
|
|
Globals:
|
|
- Index: 0
|
|
Type: I32
|
|
Mutable: false
|
|
InitExpr:
|
|
Opcode: I64_CONST
|
|
Value: -5
|
|
...
|
|
# CHECK: --- !WASM
|
|
# CHECK: FileHeader:
|
|
# CHECK: Version: 0x1
|
|
# CHECK: Sections:
|
|
# CHECK: - Type: GLOBAL
|
|
# CHECK: Globals:
|
|
# CHECK: - Index: 0
|
|
# CHECK: Type: I32
|
|
# CHECK: Mutable: false
|
|
# CHECK: InitExpr:
|
|
# CHECK: Opcode: I64_CONST
|
|
# CHECK: Value: -5
|
|
# CHECK: ...
|