aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorAlexander Potapenko <[email protected]>2020-04-07 03:10:19 +0000
committerLinus Torvalds <[email protected]>2020-04-07 17:43:43 +0000
commit7b65942fb2f0ac939be9c659bb889e78b399f84e (patch)
tree783d56f4fb7ed1c67393cc5577652a4c8ca06780 /lib/test_bitmap.c
parentlib/stackdepot.c: check depot_index before accessing the stack slab (diff)
downloadkernel-7b65942fb2f0ac939be9c659bb889e78b399f84e.tar.gz
kernel-7b65942fb2f0ac939be9c659bb889e78b399f84e.zip
lib/stackdepot.c: build with -fno-builtin
Clang may replace stackdepot_memcmp() with a call to instrumented bcmp(), which is exactly what we wanted to avoid creating stackdepot_memcmp(). Building the file with -fno-builtin prevents such optimizations. This patch has been previously mailed as part of KMSAN RFC patch series. Signed-off-by: Alexander Potapenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Vegard Nossum <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Marco Elver <[email protected]> Cc: Andrey Konovalov <[email protected]> Cc: Sergey Senozhatsky <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Andrey Ryabinin <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions