mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Update testcase for upstream LLVM changes.
(cherry picked from commit 8ed230fb73)
This commit is contained in:
@@ -11,7 +11,10 @@ enum MyError : Error {
|
||||
// thrown error we create a shadow stack location holding the address of the
|
||||
// location that holds the pointer to the error instead.
|
||||
func simple(_ placeholder: Int64) throws -> () {
|
||||
// CHECK: define {{.*}}void @"$s8ErrorVar6simpleyys5Int64VKF"(i64, %swift.refcounted* swiftself, %swift.error** noalias nocapture dereferenceable(4))
|
||||
// CHECK: define {{.*}}void @"$s8ErrorVar6simpleyys5Int64VKF"(
|
||||
// CHECK-SAME: i64
|
||||
// CHECK-SAME: %swift.refcounted* {{.*}}swiftself
|
||||
// CHECK-SAME: %swift.error** noalias nocapture dereferenceable(4)
|
||||
// CHECK: call void @llvm.dbg.declare
|
||||
// CHECK: call void @llvm.dbg.declare({{.*}}, metadata ![[ERROR:[0-9]+]], metadata !DIExpression(DW_OP_deref))
|
||||
// CHECK: ![[ERRTY:.*]] = !DICompositeType({{.*}}identifier: "$ss5Error_pD"
|
||||
|
||||
Reference in New Issue
Block a user