[docs] Add examples for printing asynchronous stack for coroutines
authorChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 23 Aug 2022 08:34:01 +0000 (16:34 +0800)
committerChuanqi Xu <yedeng.yd@linux.alibaba.com>
Tue, 23 Aug 2022 09:37:12 +0000 (17:37 +0800)
commit4332b049edf6ccf98c9e31dcc983760a89f01d40
treee638f94abdb58cfbaf2e130489a8a9f7582b3f99
parent42a9c1819cb173efb866605186c90a1ab818d46b
[docs] Add examples for printing asynchronous stack for coroutines

Previously when I wrote this document, I felt the completed scripts was
lengthy, redundant and not easy to read. So I didn't add complete
examples in the previous commit.

However, in the recent discussion with @avogelsgesang, I found people
may not know how to use debugging scripts to improve their debugging
efficiency. So now, I feel like it is helpful to put the examples even
if they are a little bit long.

Test Plan: make docs-clang-html

Reviewed By: avogelsgesang

Differential Revision: https://reviews.llvm.org/D132451
clang/docs/DebuggingCoroutines.rst