[LLDB] Recognize `std::noop_coroutine()` in `std::coroutine_handle` pretty printer
With this commit, the `std::coroutine_handle` pretty printer now recognizes `std::noop_coroutine()` handles. For noop coroutine handles, we identify use the summary string `noop_coroutine` and we don't print children Instead of ``` (std::coroutine_handle<void>) $3 = coro frame = 0x555555559058 { resume = 0x00005555555564f0 (a.out`std::__1::coroutine_handle<std::__1::noop_coroutine_promise>::__noop_coroutine_frame_ty_::__dummy_resume_destroy_func() at noop_coroutine_handle.h:79) destroy = 0x00005555555564f0 (a.out`std::__1::coroutine_handle<std::__1::noop_coroutine_promise>::__noop_coroutine_frame_ty_::__dummy_resume_destroy_func() at noop_coroutine_handle.h:79) } ``` we now print ``` (std::coroutine_handle<void>) $3 = noop_coroutine ``` Differential Revision: https://reviews.llvm.org/D132735
Loading
Please sign in to comment