Re: SanitizerCoverage support

2021-01-22 Thread Martin Liška
On 1/20/21 11:50 PM, Roger Phillips wrote: Would it be possible to replicate the sancov functionality on gcc just through special trace functions? I guess yes. Please take a look at examples mentioned here: https://clang.llvm.org/docs/SanitizerCoverage.html#tracing-pcs-with-guards Martin

Re: SanitizerCoverage support

2021-01-20 Thread Roger Phillips via Gcc
Would it be possible to replicate the sancov functionality on gcc just through special trace functions? From: Martin Liška Sent: Wednesday, January 20, 2021 11:40 AM To: Roger Phillips ; gcc@gcc.gnu.org Cc: weixi@antfin.com Subject: Re: SanitizerCoverage

Re: SanitizerCoverage support

2021-01-20 Thread Martin Liška
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 en

Re: SanitizerCoverage support

2021-01-19 Thread Roger Phillips via Gcc
for sancov. Regards From: Martin Liška Sent: Tuesday, January 19, 2021 10:23 AM To: Roger Phillips ; gcc@gcc.gnu.org Subject: Re: SanitizerCoverage support On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote: > Greetings, > > can you tell me if support of SanitizerCover

Re: SanitizerCoverage support

2021-01-19 Thread Roger Phillips via Gcc
nough. From: Martin Liška Sent: Tuesday, January 19, 2021 10:40 AM To: Roger Phillips ; gcc@gcc.gnu.org Subject: Re: SanitizerCoverage support On 1/19/21 11:33 AM, Roger Phillips wrote: > Excellent! Since which version is this available? Hello. The option -fsanitize-coverage=trace-pc is a

Re: SanitizerCoverage support

2021-01-19 Thread Martin Liška
*Sent:* Tuesday, January 19, 2021 10:23 AM *To:* Roger Phillips ; gcc@gcc.gnu.org *Subject:* Re: SanitizerCoverage support On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote: Greetings, can you tell me if support of SanitizerCoverage is planned for gcc in

Re: SanitizerCoverage support

2021-01-19 Thread Roger Phillips via Gcc
Excellent! Since which version is this available? From: Martin Liška Sent: Tuesday, January 19, 2021 10:23 AM To: Roger Phillips ; gcc@gcc.gnu.org Subject: Re: SanitizerCoverage support On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote: > Greetings, > >

Re: SanitizerCoverage support

2021-01-19 Thread Martin Liška
On 1/19/21 10:07 AM, Roger Phillips via Gcc wrote: Greetings, can you tell me if support of SanitizerCoverage is planned for gcc in the foreseeable future? Regards Hello. We do support it, please see 'man gcc': -fsanitize-coverage=trace-pc -fsanitize-coverage=trace-cmp Martin

SanitizerCoverage support

2021-01-19 Thread Roger Phillips via Gcc
Greetings, can you tell me if support of SanitizerCoverage is planned for gcc in the foreseeable future? Regards