Crates.io | stack-sizes |
lib.rs | stack-sizes |
version | 0.5.0 |
source | src |
created_at | 2018-09-28 20:24:32.844765 |
updated_at | 2022-07-07 11:47:07.402731 |
description | Tools to print stack usage information emitted by LLVM in human readable format |
homepage | |
repository | https://github.com/japaric/stack-sizes |
max_upload_size | |
id | 87042 |
size | 28,438 |
stack-sizes
Library to parse the stack usage (
.stack_sizes
) information emitted by LLVM
Since nightly-2018-09-27
rustc
has a (nightly only) -Z emit-stack-sizes
flag to (make LLVM) emit stack usage information for each Rust function.
NOTE: This feature only works when the output artifact has the ELF object format.
The stack-sizes
library provides an API to parse the metadata emitted by that flag.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.