On Fri, 12 Jun 2020 at 17:27, Martin Liška wrote:
>
> On 6/12/20 4:19 PM, Marco Elver wrote:
> > On Fri, 12 Jun 2020, Jakub Jelinek wrote:
> >
> >> On Fri, Jun 12, 2020 at 04:07:57PM +0200, Marco Elver wrote:
> >>> gcc/ChangeLog:
> >>>
> >>> * params.opt: Add --param=tsan-instrument-func-entry
On 6/12/20 4:19 PM, Marco Elver wrote:
On Fri, 12 Jun 2020, Jakub Jelinek wrote:
On Fri, Jun 12, 2020 at 04:07:57PM +0200, Marco Elver wrote:
gcc/ChangeLog:
* params.opt: Add --param=tsan-instrument-func-entry-exit=.
* tsan.c (instrument_gimple): Make return value if func entr
On Fri, 12 Jun 2020, Jakub Jelinek wrote:
> On Fri, Jun 12, 2020 at 04:07:57PM +0200, Marco Elver wrote:
> > gcc/ChangeLog:
> >
> > * params.opt: Add --param=tsan-instrument-func-entry-exit=.
> > * tsan.c (instrument_gimple): Make return value if func entry
> > and exit should be inst
On Fri, Jun 12, 2020 at 04:07:57PM +0200, Marco Elver wrote:
> gcc/ChangeLog:
>
> * params.opt: Add --param=tsan-instrument-func-entry-exit=.
> * tsan.c (instrument_gimple): Make return value if func entry
> and exit should be instrumented dependent on param.
>
> gcc/testsuite/C
Adds param tsan-instrument-func-entry-exit, which controls if
__tsan_func_{entry,exit} calls should be emitted or not. The default
behaviour is to emit the calls.
This may be required by alternative race detection runtimes. One such
runtime is the Kernel Concurrency Sanitizer (KCSAN):
htt