1 ; RUN: llc -filetype=obj %s -o - | llvm-readobj -symbols | FileCheck %s
3 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
4 target triple = "wasm32-unknown-unknown-wasm"
6 @foo = alias i8, bitcast (i8* ()* @func to i8*)
7 @bar = alias i8* (), i8* ()* @func
14 ; CHECK-NEXT: Symbol {
15 ; CHECK-NEXT: Name: func
16 ; CHECK-NEXT: Type: FUNCTION (0x0)
17 ; CHECK-NEXT: Flags [ (0x0)
19 ; CHECK-NEXT: ElementIndex: 0x0
21 ; CHECK-NEXT: Symbol {
22 ; CHECK-NEXT: Name: foo
23 ; CHECK-NEXT: Type: FUNCTION (0x0)
24 ; CHECK-NEXT: Flags [ (0x0)
26 ; CHECK-NEXT: ElementIndex: 0x0
28 ; CHECK-NEXT: Symbol {
29 ; CHECK-NEXT: Name: bar
30 ; CHECK-NEXT: Type: FUNCTION (0x0)
31 ; CHECK-NEXT: Flags [ (0x0)
33 ; CHECK-NEXT: ElementIndex: 0x0