repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
ObjectYAML
/
wasm
/
global_section.yaml
blob
73e50b57f5dc37c0f441678bb362ed53165bdac0
1
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2
--- !WASM
3
FileHeader:
4
Version: 0x00000001
5
Sections:
6
- Type: GLOBAL
7
Globals:
8
- Index: 0
9
Type: I32
10
Mutable: false
11
InitExpr:
12
Opcode: I64_CONST
13
Value: -5
14
...
15
# CHECK: --- !WASM
16
# CHECK: FileHeader:
17
# CHECK: Version: 0x00000001
18
# CHECK: Sections:
19
# CHECK: - Type: GLOBAL
20
# CHECK: Globals:
21
# CHECK: - Index: 0
22
# CHECK: Type: I32
23
# CHECK: Mutable: false
24
# CHECK: InitExpr:
25
# CHECK: Opcode: I64_CONST
26
# CHECK: Value: -5
27
# CHECK: ...