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