Skip to content

Commit 9e90cc1

Browse files
committed
[android][test] Duplicate arm64 to aarch64 for other ARM64 platforms.
Other ARM64 platforms use aarch64 as the architecture name (Android, Linux), so the checks have to be duplicated, or the final checks of the file will fail to find the patterns set before.
1 parent 5013d20 commit 9e90cc1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/DebugInfo/async-args.swift

+10
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,16 @@ func withGenericArg<T>(_ msg: T) async {
7878
// CHECK-arm64-SAME: DW_OP_plus_uconst, {{[0-9]+}}))
7979
// CHECK-arm64: store i8* %2, i8** %[[ALLOCA]], align
8080

81+
// CHECK-aarch64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA:[^,]+]],
82+
// CHECK-aarch64-SAME: metadata ![[MSG_R:[0-9]+]], metadata !DIExpression(
83+
// CHECK-aarch64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET:[0-9]+]],
84+
// CHECK-aarch64-SAME: DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_deref))
85+
// CHECK-aarch64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA]],
86+
// CHECK-aarch64-SAME: metadata ![[TAU_R:[0-9]+]], metadata !DIExpression(
87+
// CHECK-aarch64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET]],
88+
// CHECK-aarch64-SAME: DW_OP_plus_uconst, {{[0-9]+}}))
89+
// CHECK-aarch64: store i8* %2, i8** %[[ALLOCA]], align
90+
8191
// CHECK-powerpc64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA:[^,]+]],
8292
// CHECK-powerpc64-SAME: metadata ![[MSG_R:[0-9]+]], metadata !DIExpression(
8393
// CHECK-powerpc64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET:[0-9]+]],

0 commit comments

Comments
 (0)