|
58 | 58 | } |
59 | 59 |
|
60 | 60 |
|
61 | | -define swiftcc void @my_async_function(ptr swiftasync %async.ctxt, ptr %task, ptr %actor) presplitcoroutine !dbg !1 { |
| 61 | +define swiftcc void @my_async_function(ptr swiftasync %async.ctxt, ptr %task, ptr %actor) presplitcoroutine "async_entry" !dbg !1 { |
62 | 62 | entry: |
63 | 63 | %tmp = alloca { i64, i64 }, align 8 |
64 | 64 | %vector = alloca <4 x double>, align 16 |
@@ -145,6 +145,7 @@ define void @my_async_function_pa(ptr %ctxt, ptr %task, ptr %actor) { |
145 | 145 |
|
146 | 146 | ; CHECK-LABEL: define internal swiftcc void @my_async_functionTQ0_(ptr readonly swiftasync captures(none) %0, ptr %1, ptr readnone captures(none) %2) |
147 | 147 | ; CHECK-O0-LABEL: define internal swiftcc void @my_async_functionTQ0_(ptr swiftasync %0, ptr %1, ptr %2) |
| 148 | +; CHECK-SAME: #[[ATTRS:[0-9]+]] |
148 | 149 | ; CHECK-SAME: !dbg ![[SP2:[0-9]+]] { |
149 | 150 | ; CHECK: entryresume.0: |
150 | 151 | ; CHECK: [[CALLER_CONTEXT:%.*]] = load ptr, ptr %0 |
@@ -514,6 +515,8 @@ declare ptr @hide(ptr) |
514 | 515 | !llvm.dbg.cu = !{!2} |
515 | 516 | !llvm.module.flags = !{!0} |
516 | 517 |
|
| 518 | +; CHECK: #[[ATTRS]] = {{.*}}async_ret |
| 519 | + |
517 | 520 | !0 = !{i32 2, !"Debug Info Version", i32 3} |
518 | 521 | ; CHECK: ![[SP1]] = distinct !DISubprogram(name: "my_async_function", |
519 | 522 | ; CHECK-SAME: linkageName: "my_async_function", |
|
0 commit comments