brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · fa53ce4 Raw
34 lines · yaml
1# RUN: yaml2obj %s -o %t1.o2 3# RUN: wasm-ld --no-entry -o - %t1.o | obj2yaml | FileCheck %s --check-prefix EMPTY4 5# RUN: wasm-ld --no-entry --features= -o - %t1.o | obj2yaml | FileCheck %s --check-prefix EMPTY6 7# RUN: wasm-ld --no-entry --features=foo,bar,baz -o - %t1.o | obj2yaml | FileCheck %s --check-prefix SPECIFIED8 9--- !WASM10FileHeader:11  Version:         0x0000000112Sections:13  - Type:            CUSTOM14    Name:            linking15    Version:         216  - Type:            CUSTOM17    Name:            target_features18    Features:        [ ]19...20 21# section is not emitted if it would be empty22# EMPTY-NOT: target_features23 24# SPECIFIED:        - Type:            CUSTOM25# SPECIFIED:          Name:            target_features26# SPECIFIED-NEXT:     Features:27# SPECIFIED-NEXT:       - Prefix:          USED28# SPECIFIED-NEXT:         Name:            bar29# SPECIFIED-NEXT:       - Prefix:          USED30# SPECIFIED-NEXT:         Name:            baz31# SPECIFIED-NEXT:       - Prefix:          USED32# SPECIFIED-NEXT:         Name:            foo33# SPECIFIED-NEXT: ...34