about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-11-24 08:26:36 -0600
committerGitHub <noreply@github.com>2016-11-24 08:26:36 -0600
commitddf011d7730594f4db36b01858b8c6733b07c084 (patch)
tree05c3a6190c0d95f42efbfed07b6dceec72eb7695 /src/rustllvm/RustWrapper.cpp
parent217f57c0b58aeaf6a4a885ab49148095124d9f46 (diff)
parent75825fe1df47866e1821d8b09f4c75930b6e57c1 (diff)
downloadrust-ddf011d7730594f4db36b01858b8c6733b07c084.tar.gz
rust-ddf011d7730594f4db36b01858b8c6733b07c084.zip
Auto merge of #37770 - pnkfelix:print-type-sizes, r=arielb1
Add debug flag `-Z print-type-sizes` for instrumention type/variant sizes

Add debug flag `-Z print-type-sizes` for instrumention type/variant sizes

This is meant to help with things like #36799 in a very local way; namely, once you have a hypothesis as to which types have a large population or are "too large", you can use `-Z print-type-sizes` to learn how large each type is, and how much each variant in an enum contributes to the size of that overall enum.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions