From 9e90cc184e6ec989fea8d6aff59f7b9801ab3ffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodr=C3=ADguez=20Troiti=C3=B1o?= Date: Fri, 5 Feb 2021 22:03:28 -0800 Subject: [PATCH] [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. --- test/DebugInfo/async-args.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/DebugInfo/async-args.swift b/test/DebugInfo/async-args.swift index 00abb279fc3b3..8bdbc2a8b0155 100644 --- a/test/DebugInfo/async-args.swift +++ b/test/DebugInfo/async-args.swift @@ -78,6 +78,16 @@ func withGenericArg(_ msg: T) async { // CHECK-arm64-SAME: DW_OP_plus_uconst, {{[0-9]+}})) // CHECK-arm64: store i8* %2, i8** %[[ALLOCA]], align + // CHECK-aarch64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA:[^,]+]], + // CHECK-aarch64-SAME: metadata ![[MSG_R:[0-9]+]], metadata !DIExpression( + // CHECK-aarch64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET:[0-9]+]], + // CHECK-aarch64-SAME: DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_deref)) + // CHECK-aarch64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA]], + // CHECK-aarch64-SAME: metadata ![[TAU_R:[0-9]+]], metadata !DIExpression( + // CHECK-aarch64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET]], + // CHECK-aarch64-SAME: DW_OP_plus_uconst, {{[0-9]+}})) + // CHECK-aarch64: store i8* %2, i8** %[[ALLOCA]], align + // CHECK-powerpc64: call void @llvm.dbg.declare(metadata i8** %[[ALLOCA:[^,]+]], // CHECK-powerpc64-SAME: metadata ![[MSG_R:[0-9]+]], metadata !DIExpression( // CHECK-powerpc64-SAME: DW_OP_deref, DW_OP_plus_uconst, [[OFFSET:[0-9]+]],