https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69624
--- Comment #16 from Dmitry Vyukov <dvyukov at google dot com> --- > Could you please push that to the syzkaller tree [1] then? Sorry, syzkaller page referred to outdated patch. I was hoping that Andrew will take it soon, so that I can update the link to a more respected location. Updated now: https://github.com/dvyukov/linux/commit/33787098ffaaa83b8a7ccf519913ac5fd6125931 If you will have any other issue feel free to contact syzkal...@googlegroups.com. Re the original issue. We could call a special __sanitizer_cov_trace_pc_special callback which would save/restore all registers when a file is compiled with -fcall-saved*. But it probably does not worth it while we have a single case. We could also add a finer-grained function attibute which disables kcov instrumentation of a single function. But the same reasoning applies.