Skip to content

Commit b10105d

Browse files
committed
Make test DebugInfo/Errors.swift word-size independent
Swift SVN r28252
1 parent cfd4503 commit b10105d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/DebugInfo/Errors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ enum MyError : _ErrorType {
66
case WithObj(Obj)
77
}
88

9-
func simple(placeholder : Int) throws -> () {
10-
// CHECK: define {{.*}}void @_TF6Errors6simpleFzSiT_(i64, %swift.refcounted*, %swift.error**)
9+
func simple(placeholder: Int64) throws -> () {
10+
// CHECK: define {{.*}}void @_TF6Errors6simpleFzVSs5Int64T_(i64, %swift.refcounted*, %swift.error**)
1111
// CHECK: call void @llvm.dbg.declare
1212
// CHECK: call void @llvm.dbg.declare({{.*}}, metadata ![[ERROR:[0-9]+]], metadata ![[DEREF:[0-9]+]])
1313
// CHECK: ![[ERROR]] = !DILocalVariable(tag: DW_TAG_arg_variable, name: "$error", arg: 2, {{.*}} type: !"_TtPSs10_ErrorType_", flags: DIFlagArtificial)

0 commit comments

Comments
 (0)