Re: [PATCH] do not tailcall __sanitizer_cov_trace_pc [PR90746]

2023-05-02 Thread Richard Biener via Gcc-patches
On Tue, May 2, 2023 at 4:45 PM Alexander Monakov via Gcc-patches wrote: > > When instrumentation is requested via -fsanitize-coverage=trace-pc, GCC > emits calls to __sanitizer_cov_trace_pc callback into each basic block. > This callback is supposed to be implemented by the user, and should be > a

[PATCH] do not tailcall __sanitizer_cov_trace_pc [PR90746]

2023-05-02 Thread Alexander Monakov via Gcc-patches
When instrumentation is requested via -fsanitize-coverage=trace-pc, GCC emits calls to __sanitizer_cov_trace_pc callback into each basic block. This callback is supposed to be implemented by the user, and should be able to identify the containing basic block by inspecting its return address. Tailca