https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112656
--- Comment #3 from Jose E. Marchesi <jemarch at gcc dot gnu.org> --- clang does not emit BTF FUNC nor FUNC_PROTO entries for inlined functions. So the fix is probably to not emit CTF_K_FUNCTION entries that have not been handled in the FOR_EACH_FUNCTION loop.