Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

japaric/stack-sizes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages