Skip to content

Commit 1a99929

Browse files
committed
Fix test on watch simulator
1 parent 99e3ef0 commit 1a99929

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/DebugInfo/async-let-await.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public func getVegetables() async -> [String] {
1111
// CHECK: define {{.*}} @"$s1M14chopVegetablesSaySSGyYKF.resume.0"
1212
public func chopVegetables() async throws -> [String] {
1313
let veggies = await getVegetables()
14-
// CHECK: call void @llvm.dbg.declare(metadata i8* %2, metadata ![[V:[0-9]+]]
14+
// CHECK-NOT: {{^define }}
15+
// CHECK: call void @llvm.dbg.declare(metadata i8* %2, metadata ![[V:[0-9]+]], metadata !DIExpression(DW_OP_deref
1516
// CHECK: ![[V]] = !DILocalVariable(name: "veggies"
1617
return veggies.map { "chopped \($0)" }
1718
}

0 commit comments

Comments
 (0)