4 ms·
That's very cool; how do you get colourise to associate lines to the regions of assembly?
by dbaupp 13y ago
That's very cool; how do you get colourise to associate lines to the regions of assembly?
- mattgodbolt 13y agoI parse the debug line directives in the assembler output. Something about the way rust/llvm outputs with -O makes this a little worse than the equivalent in C++/clang but it's 'good enough' to get the gist of what's happening I think.
- dbaupp 13y agoOh, nice. Rust's debuginfo does seem to have a few peculiarities where lines numbers don't quite work out (or something, I haven't really been able to "quantify" it); but there's currently someone working on debuginfo.