diff options
| author | Simon Heath <icefox@dreamquest.io> | 2019-10-23 09:08:26 -0400 |
|---|---|---|
| committer | Simon Heath <icefox@dreamquest.io> | 2019-11-02 10:28:05 -0400 |
| commit | 567962d22090bbd23c1c3dc0e04229ac8c681ea8 (patch) | |
| tree | f4f03667408fd4c72f129f343eb616d0a6150cd5 /src/test/debuginfo/enum-thinlto.rs | |
| parent | 8c7b921feb5b100b1825ad54d46a8cca575b35b3 (diff) | |
| download | rust-567962d22090bbd23c1c3dc0e04229ac8c681ea8.tar.gz rust-567962d22090bbd23c1c3dc0e04229ac8c681ea8.zip | |
Add FFI bindings for Module::getInstructionCount()
Just to make it useable 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
