Skip to content

Commit 8fc140a

Browse files
committed
Fix bad merge in DebugInfo tests.
(cherry picked from commit ec63c19)
1 parent f37c275 commit 8fc140a

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/DebugInfo/bound-namealiastype.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ func dispatch_queue_create() -> dispatch_queue_t! {
1111
// CHECK: !DIGlobalVariable(name: "queue",
1212
// CHECK-SAME: line: [[@LINE+3]], type: ![[T:[0-9]+]]
1313
// CHECK: ![[T]] = !DICompositeType(tag: DW_TAG_union_type,
14-
// CHECK-SAME: identifier: "_TtGSQa4main16dispatch_queue_t_"
14+
// CHECK-SAME: identifier: "_TtGSqa4main16dispatch_queue_t_"
1515
public var queue = dispatch_queue_create()

test/DebugInfo/protocolarg.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ public protocol IGiveOutInts {
77
}
88

99
// CHECK: define {{.*}}@_TF11protocolarg16printSomeNumbersFPS_12IGiveOutInts_T_
10-
// CHECK: @llvm.dbg.declare(metadata %P11protocolarg12IGiveOutInts_** %
11-
// CHECK-SAME: metadata ![[ARG:[0-9]+]], metadata ![[DEREF:[0-9]+]])
1210
// CHECK: @llvm.dbg.declare(metadata %P11protocolarg12IGiveOutInts_* %
13-
// CHECK-SAME: metadata ![[VAR:[0-9]+]], metadata ![[EMPTY:[0-9]+]])
11+
// CHECK-SAME: metadata ![[VAR:.*]], metadata ![[EMPTY:.*]])
12+
// CHECK: @llvm.dbg.declare(metadata %P11protocolarg12IGiveOutInts_** %
13+
// CHECK-SAME: metadata ![[ARG:.*]], metadata ![[DEREF:.*]])
1414

1515
// CHECK: ![[EMPTY]] = !DIExpression()
1616
// FIXME: Should be DW_TAG_interface_type
@@ -22,7 +22,6 @@ public func printSomeNumbers(_ gen: IGiveOutInts) {
2222
// CHECK: ![[ARG]] = !DILocalVariable(name: "gen", arg: 1,
2323
// CHECK-SAME: line: [[@LINE-4]], type: ![[PT]]
2424
// CHECK: ![[DEREF]] = !DIExpression(DW_OP_deref)
25-
// CHECK: ![[VAR]] = !DILocalVariable(name: "gen", {{.*}} line: [[@LINE-5]]
2625
markUsed(gen.callMe())
2726
}
2827

0 commit comments

Comments
 (0)