File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
llvm/test/CodeGen/AArch64 Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ ; RUN: llc -mtriple=arm64ec-pc-windows-msvc < %s | FileCheck %s
2
+ ; RUN: llc -mtriple=arm64ec-pc-windows-msvc -filetype=obj -o %t.o < %s
3
+ ; RUN: llvm-objdump -t %t.o | FileCheck --check-prefix=SYM %s
4
+
5
+ declare void @func () nounwind ;
6
+
7
+ define void @caller () nounwind {
8
+ call void @func ()
9
+ ret void
10
+ }
11
+
12
+ ; CHECK: .weak_anti_dep caller
13
+ ; CHECK-NEXT: .set caller, "#caller"@WEAKREF
14
+
15
+ ; CHECK: .weak_anti_dep func
16
+ ; CHECK-NEXT: .set func, "#func"@WEAKREF
17
+ ; CHECK-NEXT: .weak_anti_dep "#func"
18
+ ; CHECK-NEXT: .set "#func", "#func$exit_thunk"@WEAKREF
19
+
20
+ ; SYM: [ 8](sec 4)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 #caller
21
+ ; SYM: [21](sec 7)(fl 0x00)(ty 20)(scl 2) (nx 0) 0x00000000 #func$exit_thunk
22
+ ; SYM: [33](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 caller
23
+ ; SYM-NEXT: AUX indx 8 srch 4
24
+ ; SYM-NEXT: [35](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 #func
25
+ ; SYM-NEXT: AUX indx 21 srch 4
26
+ ; SYM: [39](sec 0)(fl 0x00)(ty 0)(scl 69) (nx 1) 0x00000000 func
27
+ ; SYM-NEXT: AUX indx 35 srch 4
You can’t perform that action at this time.
0 commit comments