#stack #analysis #human-readable #usage

stack-sizes

Tools to print stack usage information emitted by LLVM in human readable format

7 releases (4 breaking)

0.5.0 Jul 7, 2022
0.4.0 Mar 22, 2019
0.3.1 Mar 10, 2019
0.2.0 Dec 2, 2018
0.1.0 Sep 28, 2018

#384 in Value formatting

Download history 1281/week @ 2024-07-21 898/week @ 2024-07-28 958/week @ 2024-08-04 1092/week @ 2024-08-11 1218/week @ 2024-08-18 804/week @ 2024-08-25 1017/week @ 2024-09-01 846/week @ 2024-09-08 777/week @ 2024-09-15 903/week @ 2024-09-22 896/week @ 2024-09-29 1468/week @ 2024-10-06 1333/week @ 2024-10-13 1498/week @ 2024-10-20 1233/week @ 2024-10-27 1348/week @ 2024-11-03

5,577 downloads per month
Used in cargo-call-stack

MIT/Apache

13KB
261 lines

stack-sizes

Library to parse the stack usage (.stack_sizes) information emitted by LLVM

Background information

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.

License

Licensed under either of

at your option.

Contribution

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.

Dependencies

~350KB