gcov: clang: drop support for clang-10 and older

Linux Kernel / Linux Kernel - Nick Desaulniers [google.com] - 7 May 2021 07:26 UTC

LLVM changed the expected function signatures for llvm_gcda_start_file() and llvm_gcda_emit_function() in the clang-11 release. Drop the older implementations and require folks to upgrade their compiler if they're interested in GCOV support.

Link: https://reviews.llvm.org/rGcdd683b516d147925212724b09ec6fb792a40041 Link: https://reviews.llvm.org/rG13a633b438b6500ecad9e4f936ebadf3411d0f44 Link: https://lkml.kernel.org/r/20210312224132.3413602-3-ndesaulniers@google.com Link: https://lkml.kernel.org/r/20210413183113.2977432-1-ndesaulniers@google.com

9b472e85d098 gcov: clang: drop support for clang-10 and older
kernel/gcov/Kconfig | 1 +
kernel/gcov/clang.c | 103 ----------------------------------------------------
2 files changed, 1 insertion(+), 103 deletions(-)

Upstream: git.kernel.org

  • Share