Skip to content

Commit 95705b6

Browse files
committed
Relax testcase to deal with changes in upstream LLVM.
<rdar://problem/27389560>
1 parent 069858b commit 95705b6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/DebugInfo/inout.swift

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// RUN: cat %t.ll | FileCheck %s
33
// RUN: cat %t.ll | FileCheck %s --check-prefix=PROMO-CHECK
44
// RUN: cat %t.ll | FileCheck %s --check-prefix=FOO-CHECK
5-
// REQUIRES: rdar27389560
65

76
// LValues are direct values, too. They are reference types, though.
87

@@ -19,9 +18,9 @@ typealias MyFloat = Float
1918
// PROMO-CHECK: call void @llvm.dbg.declare(metadata %Vs5Int64** %
2019
// PROMO-CHECK-SAME: metadata ![[A1:[0-9]+]], metadata ![[EMPTY_EXPR:[0-9]+]])
2120

22-
// PROMO-CHECK: ![[INT:.*]] = !DICompositeType({{.*}}identifier: "_TtVs5Int64"
23-
// PROMO-CHECK: ![[EMPTY_EXPR]] = !DIExpression()
24-
// PROMO-CHECK: ![[INT:.*]] = !DICompositeType({{.*}}identifier: "_TtRVs5Int64"
21+
// PROMO-CHECK-DAG: ![[EMPTY_EXPR]] = !DIExpression()
22+
// PROMO-CHECK-DAG: ![[INT:.*]] = !DICompositeType({{.*}}identifier: "_TtVs5Int64"
23+
// PROMO-CHECK-DAG: ![[INT:.*]] = !DICompositeType({{.*}}identifier: "_TtRVs5Int64"
2524
// PROMO-CHECK: ![[A1]] = !DILocalVariable(name: "a", arg: 1
2625
// PROMO-CHECK-SAME: type: ![[INT]]
2726
func modifyFooHeap(_ a: inout Int64,

0 commit comments

Comments
 (0)