On 1/19/21 12:11 PM, Roger Phillips wrote:
Does any of these two modes allow me to generate sancov files on function level? My intent is to record program flow, then visualize the diff between the runs. Most examples I see use edge,bb,func modes so I'm not sure trace-pc and trace-pc-cmp are enough.
I think we likely miss the functionality. I briefly looked at: https://clang.llvm.org/docs/SanitizerCoverage.html and as shown here: https://clang.llvm.org/docs/SanitizerCoverage.html#default-implementation On the other hand, the functionality should be in sanitizer so we may use it. Martin