1 ; RUN: llc -filetype=obj -wasm-keep-registers %s -o - | llvm-readobj --symbols | FileCheck %s
3 target triple = "wasm32-unknown-unknown"
5 @llvm.used = appending global [1 x i8*] [i8* bitcast (i32 ()* @foo to i8*)], section "llvm.metadata"
13 ; CHECK-NEXT: Symbol {
14 ; CHECK-NEXT: Name: foo
15 ; CHECK-NEXT: Type: FUNCTION (0x0)
16 ; CHECK-NEXT: Flags [ (0x80)
17 ; CHECK-NEXT: NO_STRIP (0x80)
19 ; CHECK-NEXT: ElementIndex: 0x0