28 lines · plain
1; RUN: llc -mtriple=arm64ec-pc-windows-msvc < %s | FileCheck %s2; RUN: llc -mtriple=arm64ec-pc-windows-msvc -filetype=obj -o %t.o < %s3; RUN: llvm-objdump -t %t.o | FileCheck --check-prefix=SYM %s4 5declare void @func() nounwind;6 7define void @caller() nounwind {8 call void @func()9 ret void10}11 12; CHECK: .weak_anti_dep caller13; CHECK-NEXT: caller = "#caller"{{$}}14 15; CHECK: .weak_anti_dep func16; CHECK-NEXT: func = "#func"{{$}}17; CHECK-NEXT: .weak_anti_dep "#func"18; CHECK-NEXT: "#func" = "#func$exit_thunk"{{$}}19 20; SYM: [ 8](sec 4)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 #caller21; SYM: [21](sec 7)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 #func$exit_thunk22; SYM: [33](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 caller23; SYM-NEXT: AUX indx 8 srch 424; SYM-NEXT: [35](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 #func25; SYM-NEXT: AUX indx 21 srch 426; SYM: [39](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 func27; SYM-NEXT: AUX indx 35 srch 428