llvm-project/llvm/test/ObjectYAML/wasm/target-features-section.yaml
Heejin Ahn be64ca9123
[WebAssembly] Remove WASM_FEATURE_PREFIX_REQUIRED (NFC) (#113729)
This has not been emitted since

3f34e1b883.

The corresponding proposed tool-conventions change:
https://github.com/WebAssembly/tool-conventions/pull/236
2024-11-04 16:12:57 -08:00

22 lines
639 B
YAML

# RUN: yaml2obj %s | obj2yaml | FileCheck %s
--- !WASM
FileHeader:
Version: 0x00000001
Sections:
- Type: CUSTOM
Name: target_features
Features:
- Prefix: USED
Name: "foo"
- Prefix: DISALLOWED
Name: ""
...
# CHECK-LABEL: Sections:
# CHECK-NEXT: - Type: CUSTOM
# CHECK-NEXT: Name: target_features
# CHECK-NEXT: Features:
# CHECK-NEXT: - Prefix: USED
# CHECK-NEXT: Name: foo
# CHECK-NEXT: - Prefix: DISALLOWED
# CHECK-NEXT: Name: ''