diff options
| author | Pietro Albini <pietro@pietroalbini.org> | 2019-11-05 09:49:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-05 09:49:50 +0100 |
| commit | 7976d5720a5393274b16b2318375075d4f8d9da8 (patch) | |
| tree | 41859a64450c74f482ef8d9ee5a6dde7a61cba8f /src/test/debuginfo/enum-thinlto.rs | |
| parent | 5831e0643e1f3772950075e55b62e3a4d0de297a (diff) | |
| parent | 567962d22090bbd23c1c3dc0e04229ac8c681ea8 (diff) | |
| download | rust-7976d5720a5393274b16b2318375075d4f8d9da8.tar.gz rust-7976d5720a5393274b16b2318375075d4f8d9da8.zip | |
Rollup merge of #65720 - icefoxen:LLVMgetInstructionCount, r=rkruppe
Add FFI bindings for LLVM's Module::getInstructionCount() Just to make it usable for profiling and such inside rustc itself. It was vaguely useful in https://wiki.alopex.li/WhereRustcSpendsItsTime and I figured I might as well upstream it; I may or may not ever get around to doing more with it (hopefully I will), but it may be useful for others.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
