Files
android_kernel_xiaomi_sm8450/kernel
Nick Desaulniers db6a2dd55a FROMLIST: gcov: re-fix clang-11+ support
LLVM changed the expected function signature for
llvm_gcda_emit_function() in the clang-11 release.  Users of clang-11 or
newer may have noticed their kernels producing invalid coverage
information:

$ llvm-cov gcov -a -c -u -f -b <input>.gcda -- gcno=<input>.gcno
1 <func>: checksum mismatch, \
  (<lineno chksum A>, <cfg chksum B>) != (<lineno chksum A>, <cfg chksum C>)
2 Invalid .gcda File!
...

Fix up the function signatures so calling this function interprets its
parameters correctly and computes the correct cfg checksum. In
particular, in clang-11, the additional checksum is no longer optional.

Link: https://reviews.llvm.org/rG25544ce2df0daa4304c07e64b9c8b0f7df60c11d
Cc: stable@vger.kernel.org #5.4+
Reported-by: Prasad Sodagudi <psodagud@quicinc.com>
Tested-by: Prasad Sodagudi <psodagud@quicinc.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
(am from https://lore.kernel.org/lkml/20210407185456.41943-2-ndesaulniers@google.com/)
Bug: 182501993
Change-Id: Icd98cf11a6fca0fc55b1399e5b244dc1c81c71e8
2021-04-08 01:26:24 +00:00
..
2021-04-02 15:25:50 +02:00
2021-03-25 17:15:27 +01:00
2021-04-02 15:25:50 +02:00
2021-03-07 12:33:33 +01:00
2020-08-26 09:10:39 -04:00
2021-04-02 15:25:50 +02:00
2021-03-25 17:15:27 +01:00
2020-08-12 10:58:02 -07:00
2021-02-08 20:05:12 -08:00
2021-03-07 12:33:33 +01:00
2021-03-25 17:15:27 +01:00
2020-11-14 11:26:04 -08:00
2021-01-13 10:28:55 +01:00
2020-07-27 14:31:12 -04:00
2021-03-07 12:33:33 +01:00
2021-03-07 12:33:33 +01:00
2021-02-07 15:37:17 +01:00
2021-03-19 09:42:56 +01:00
2020-06-04 19:06:24 -07:00