Has anyone taken a look at adding LLVM Code Coverage Mapping to Rust? I'm looking into it so that we can start getting PGO and code coverage "the right way" for Fuchsia, and was reading https://llvm.org/docs/CoverageMappingFormat.html and https://github.com/llvm/llvm-project/blob/master/clang/lib/CodeGen/CoverageMappingGen.cpp. It doesn't look too terrible, but I wanted to give a heads-up here that this was something I was investigating in case anyone else had looked into doing the same thing and had any advice.
Awesome! I know that people want to have PGO.
Is this different from how Clang does PGO normally?
I want to be using ccov testing on rustc
I've not looked into it at all
@mw This is what you get when you use -fprofile-instr-generate / -fcoverage-mapping
llvm-cov works off of