about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-03-22 16:45:32 -0700
committerKevin Reid <kpreid@switchb.org>2024-03-22 18:07:15 -0700
commit44d185b0d00c8ba228aafa789a39b77d7fd11daf (patch)
tree69fc083bc2b5c525ecbb1df6539aa8b8e891693c /compiler/rustc_codegen_llvm/src
parent85e449a3237e82c9ade8936a82bd4fc64cfe1057 (diff)
downloadrust-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