[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / WebAssembly / function-sections.ll
blob9c10cace404f2f3a32d6edcdf75ec903bad15138
1 ; RUN: llc -filetype=obj %s -o - | obj2yaml | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
5 define hidden i32 @foo() section "baz" {
6 entry:
7   ret i32 2
10 define hidden i32 @bar() section "baz" {
11 entry:
12   ret i32 1
15 ; CHECK:        - Type:            CUSTOM
16 ; CHECK-NEXT:     Name:            linking
17 ; CHECK-NEXT:     Version:         2
18 ; CHECK-NEXT:     SymbolTable:
19 ; CHECK-NEXT:       - Index:           0
20 ; CHECK-NEXT:         Kind:            FUNCTION
21 ; CHECK-NEXT:         Name:            foo
22 ; CHECK-NEXT:         Flags:           [ VISIBILITY_HIDDEN ]
23 ; CHECK-NEXT:         Function:        0
24 ; CHECK-NEXT:       - Index:           1
25 ; CHECK-NEXT:         Kind:            FUNCTION
26 ; CHECK-NEXT:         Name:            bar
27 ; CHECK-NEXT:         Flags:           [ VISIBILITY_HIDDEN ]
28 ; CHECK-NEXT:         Function:        1