diff options
| -rw-r--r-- | llvm/lib/Transforms/Coroutines/CoroSplit.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroSplit.cpp b/llvm/lib/Transforms/Coroutines/CoroSplit.cpp index a8de9fe3feb..8afb2f0ff11 100644 --- a/llvm/lib/Transforms/Coroutines/CoroSplit.cpp +++ b/llvm/lib/Transforms/Coroutines/CoroSplit.cpp @@ -946,7 +946,12 @@ struct CoroSplit : public CallGraphSCCPass { char CoroSplit::ID = 0; -INITIALIZE_PASS( +INITIALIZE_PASS_BEGIN( + CoroSplit, "coro-split", + "Split coroutine into a set of functions driving its state machine", false, + false) +INITIALIZE_PASS_DEPENDENCY(CallGraphWrapperPass) +INITIALIZE_PASS_END( CoroSplit, "coro-split", "Split coroutine into a set of functions driving its state machine", false, false) |

