diff options
| author | Kevin Reid <kpreid@switchb.org> | 2024-03-22 16:45:32 -0700 |
|---|---|---|
| committer | Kevin Reid <kpreid@switchb.org> | 2024-03-22 18:07:15 -0700 |
| commit | 44d185b0d00c8ba228aafa789a39b77d7fd11daf (patch) | |
| tree | 69fc083bc2b5c525ecbb1df6539aa8b8e891693c /compiler/rustc_codegen_llvm/src | |
| parent | 85e449a3237e82c9ade8936a82bd4fc64cfe1057 (diff) | |
| download | rust-44d185b0d00c8ba228aafa789a39b77d7fd11daf.tar.gz rust-44d185b0d00c8ba228aafa789a39b77d7fd11daf.zip | |
-Zprint-type-sizes: print the types of awaitees and unnamed coroutine locals.
This should assist comprehending the size of coroutines. In particular, whenever a future is suspended while awaiting another future, the latter is given the special name `__awaitee`, and now the type of the awaited future will be printed, allowing identifying caller/callee — er, I mean, poller/pollee — relationships. It would be possible to include the type name in more cases, but I thought that that might be overly verbose (`print-type-sizes` is already a lot of text) and ordinary named fields or variables are easier for readers to discover the types of.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
