llvm-for-llvmta/test/ObjectYAML/wasm/custom_section.yaml

18 lines
415 B
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: CUSTOM
Name: foo
Payload: '0401020304'
...
# CHECK: --- !WASM
# CHECK: FileHeader:
# CHECK: Version: 0x1
# CHECK: Sections:
# CHECK: - Type: CUSTOM
# CHECK: Name: foo
# CHECK: Payload: '0401020304'
# CHECK: ...