Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/japaric/stack-sizes
Tool to print stack usage information emitted by LLVM in human readable format
https://github.com/japaric/stack-sizes
Last synced: 5 days ago
JSON representation
Tool to print stack usage information emitted by LLVM in human readable format
- Host: GitHub
- URL: https://github.com/japaric/stack-sizes
- Owner: japaric
- License: apache-2.0
- Created: 2018-06-30T17:11:04.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-08-25T02:18:06.000Z (about 2 years ago)
- Last Synced: 2024-10-19T14:02:52.980Z (22 days ago)
- Language: Rust
- Size: 39.1 KB
- Stars: 53
- Watchers: 5
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `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.[`-Z emit-stack-sizes`]: https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/emit-stack-sizes.html
> **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
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)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.