[PATCH v2] tsan: Add param to disable func-entry-exit instrumentation
Jakub Jelinek
jakub@redhat.com
Fri Jun 12 14:11:38 GMT 2020
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/ChangeLog:
>
> * c-c++-common/tsan/func_entry_exit.c: New test.
> * c-c++-common/tsan/func_entry_exit_disabled.c: New test.
Ok.
Jakub
More information about the Gcc-patches
mailing list