gcov fixes for clang-11
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 4 repliesIn review 1 of 2 applied
- v11 patch 9 repliesSuperseded
Patches in v2 1 of 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gcov: fix clang-11+ supportkernel/ | +69 | 2 replies | Applied |
| 2/2 | gcov: clang: drop support for clang-10 and olderkernel/ kernel/ | +1 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Fangrui Song | Nathan Chancellor | Peter Oberparleiter |
|---|---|---|---|
| 1/2 | R-b | T-b R-b | A-b |
| 2/2 | R-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [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.
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
Signature · 1 line
2.31.0.rc2.261.g7f71774620-goog