mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
This patch disables __counted_by for clang versions < 19.1.3 because of the two issues listed below. It does this by introducing CONFIG_CC_HAS_COUNTED_BY. 1. clang < 19.1.2 has a bug that can lead to __bdos returning 0: https://github.com/llvm/llvm-project/pull/110497 2. clang < 19.1.3 has a bug that can lead to __bdos being off by 4: https://github.com/llvm/llvm-project/pull/112636 Fixes: |
||
|---|---|---|
| .. | ||
| bugs.c | ||
| cfi.c | ||
| core.c | ||
| fortify.c | ||
| heap.c | ||
| lkdtm.h | ||
| Makefile | ||
| perms.c | ||
| powerpc.c | ||
| refcount.c | ||
| rodata.c | ||
| stackleak.c | ||
| usercopy.c | ||