File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %target-swift-frontend %s -emit-ir -g -o - | %FileCheck %s
2
2
// REQUIRES: CPU=i386
3
- // REQUIRES: rdar_31886890
4
3
class Obj { }
5
4
6
5
enum MyError : Error {
@@ -15,9 +14,10 @@ func simple(_ placeholder: Int64) throws -> () {
15
14
// CHECK: define {{.*}}void @_T08ErrorVar6simpleys5Int64VKF(i64, %swift.refcounted* swiftself, %swift.error**)
16
15
// CHECK: call void @llvm.dbg.declare
17
16
// CHECK: call void @llvm.dbg.declare({{.*}}, metadata ![[ERROR:[0-9]+]], metadata ![[DEREF:[0-9]+]])
17
+ // CHECK: ![[ERRTY:.*]] = !DICompositeType({{.*}}identifier: "_T0s5Error_pD"
18
18
// CHECK: ![[ERROR]] = !DILocalVariable(name: "$error", arg: 2,
19
- // CHECK-SAME: type: ![[ERRTY:.* ]], flags: DIFlagArtificial)
20
- // CHECK: ![[ERRTY]] = !DICompositeType({{.*}}identifier: "_T0s5Error_pD"
19
+ // CHECK-SAME: type: ![[ERRTY]],
20
+ // CHECK-SAME: flags: DIFlagArtificial)
21
21
// CHECK: ![[DEREF]] = !DIExpression(DW_OP_deref)
22
22
throw MyError . Simple
23
23
}
You can’t perform that action at this time.
0 commit comments