Kernel code coverage using clang

Hi There,

   I have an issue with latest clang 11.0.5, here i am sharing with you all to debug my issue further. When I tried to enable GCOV for my linux kernel using clang tool-chain version 11,  I faced some kernel panic issue and it rebooting device repeatedly as long as restarting  the device. But with older versions of clang i was able to generate coverage files(.gcno) and device booting fine.

   Have you have any idea regarding this, why latest clang tool-chain  resulting in kernel panic with enabling of GCOV?

Thanks in Advance,
Radhika.

Hello,

I think the question is better suited for ClangBuiltLinux ยท GitHub.