linux/kernel/gcov
Peter Oberparleiter 18647a78fe gcov: add support for GCC 14
commit c1558bc57b upstream.

Using gcov on kernels compiled with GCC 14 results in truncated 16-byte
long .gcda files with no usable data.  To fix this, update GCOV_COUNTERS
to match the value defined by GCC 14.

Tested with GCC versions 14.1.0 and 13.2.0.

Link: https://lkml.kernel.org/r/20240610092743.1609845-1-oberpar@linux.ibm.com
Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
Reported-by: Allison Henderson <allison.henderson@oracle.com>
Reported-by: Chuck Lever III <chuck.lever@oracle.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-05 09:14:34 +02:00
..
base.c gcov: combine common code 2021-05-07 00:26:32 -07:00
clang.c gcov: clang: fix the buffer overflow issue 2022-12-02 17:41:09 +01:00
fs.c gcov: use kvmalloc() 2021-05-07 00:26:32 -07:00
gcc_4_7.c gcov: add support for GCC 14 2024-07-05 09:14:34 +02:00
gcc_base.c gcov: clang: move common GCC code into gcc_base.c 2019-05-14 19:52:51 -07:00
gcov.h gcov: combine common code 2021-05-07 00:26:32 -07:00
Kconfig Kconfig: Introduce ARCH_WANTS_NO_INSTR and CC_HAS_NO_PROFILE_FN_ATTR 2021-06-22 11:07:18 -07:00
Makefile gcov: Remove old GCC 3.4 support 2020-04-16 12:28:35 +01:00