[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210312224132.3413602-1-ndesaulniers@google.com>
Date: Fri, 12 Mar 2021 14:41:30 -0800
From: Nick Desaulniers <ndesaulniers@...gle.com>
To: Peter Oberparleiter <oberpar@...ux.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com,
Fangrui Song <maskray@...gle.com>,
Prasad Sodagudi <psodagud@...cinc.com>,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: [PATCH v2 0/2] gcov fixes for clang-11
LLVM changed the expected function signatures for llvm_gcda_start_file()
and llvm_gcda_emit_function() in the clang-11 release. Users of clang-11
or newer may have noticed their kernels failing to boot due to a panic
when enabling CONFIG_GCOV_KERNEL=y +CONFIG_GCOV_PROFILE_ALL=y. Fix up
the function signatures so calling these functions doesn't panic the
kernel.
The first patch should allow us to backport it to stable; the second
drops support for older toolchains.
Link: https://reviews.llvm.org/rGcdd683b516d147925212724b09ec6fb792a40041
Link: https://reviews.llvm.org/rG13a633b438b6500ecad9e4f936ebadf3411d0f44
Nick Desaulniers (2):
gcov: fix clang-11+ support
gcov: clang: drop support for clang-10 and older
kernel/gcov/Kconfig | 1 +
kernel/gcov/clang.c | 32 ++++++++------------------------
2 files changed, 9 insertions(+), 24 deletions(-)
base-commit: f78d76e72a4671ea52d12752d92077788b4f5d50
--
2.31.0.rc2.261.g7f71774620-goog
Powered by blists - more mailing lists