mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 01:21:28 +00:00
7c201739be
With Clang version 16+, -fsanitize=thread will turn memcpy/memset/memmove calls in instrumented functions into __tsan_memcpy/__tsan_memset/__tsan_memmove calls respectively. Add these functions to the core KCSAN runtime, so that we (a) catch data races with mem* functions, and (b) won't run into linker errors with such newer compilers. Cc: stable@vger.kernel.org # v5.10+ Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org> |
||
---|---|---|
.. | ||
.kunitconfig | ||
core.c | ||
debugfs.c | ||
encoding.h | ||
kcsan_test.c | ||
kcsan.h | ||
Makefile | ||
permissive.h | ||
report.c | ||
selftest.c |