Would it be possible to replicate the sancov functionality on gcc just through 
special trace functions?

________________________________
From: Martin Liška <[email protected]>
Sent: Wednesday, January 20, 2021 11:40 AM
To: Roger Phillips <[email protected]>; [email protected] <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: SanitizerCoverage support

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

Reply via email to