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

30 lines
763 B
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: CUSTOM
Name: producers
Languages:
- Name: C++
Version: C++11
Tools:
- Name: clang
Version: 123
SDKs:
- Name: emscripten
Version: 9001
...
# CHECK: Sections:
# CHECK: - Type: CUSTOM
# CHECK: Name: producers
# CHECK: Languages:
# CHECK: - Name: 'C++'
# CHECK: Version: 'C++11'
# CHECK: Tools:
# CHECK: - Name: clang
# CHECK: Version: '123'
# CHECK: SDKs:
# CHECK: - Name: emscripten
# CHECK: Version: '9001'