mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[DebugInfo] Update tests to expect new LLVM debug format
This commit is contained in:
@@ -15,8 +15,8 @@ func simple(_ placeholder: Int64) throws -> () {
|
||||
// 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: #dbg_declare
|
||||
// CHECK: #dbg_declare({{.*}}, ![[ERROR:[0-9]+]], !DIExpression(DW_OP_deref)
|
||||
// CHECK-DAG: ![[ERRTY:.*]] = !DICompositeType({{.*}}identifier: "$ss5Error_pD"
|
||||
// CHECK-DAG: ![[ERROR]] = !DILocalVariable(name: "$error", arg: 2, {{.*}}, type: ![[ERRTY]], flags: DIFlagArtificial)
|
||||
throw MyError.Simple
|
||||
|
||||
Reference in New Issue
Block a user