repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
ObjectYAML
/
wasm
/
memory_section.yaml
blob
6cd9db3ffd1d2beb48a1b84d8dc7cd6f2bc1ef5d
1
# RUN: yaml2obj %s | obj2yaml | FileCheck %s
2
--- !WASM
3
FileHeader:
4
Version: 0x00000001
5
Sections:
6
- Type: MEMORY
7
Memories:
8
- Flags: [ HAS_MAX ]
9
Minimum: 0x00000002
10
Maximum: 0x000000FF
11
- Minimum: 0x00000003
12
...
13
# CHECK: --- !WASM
14
# CHECK: FileHeader:
15
# CHECK: Version: 0x1
16
# CHECK: Sections:
17
# CHECK: - Type: MEMORY
18
# CHECK: Memories:
19
# CHECK: - Flags: [ HAS_MAX ]
20
# CHECK: Minimum: 0x2
21
# CHECK: Maximum: 0xFF
22
# CHECK: - Minimum: 0x3
23
# CHECK: ...