summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kcsan
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2021-11-30 12:44:32 +0100
committerPaul E. McKenney <paulmck@kernel.org>2021-12-09 16:42:28 -0800
commita015b7085979b12e55f67f3b86be0321fff6be3f (patch)
tree01dd3b8c30b0a0de4b3551685f7deb4a95b6a239 /lib/Kconfig.kcsan
parent0509811952e41ad1e04c50d2378078250b6b7be3 (diff)
downloadlinux-a015b7085979b12e55f67f3b86be0321fff6be3f.tar.gz
linux-a015b7085979b12e55f67f3b86be0321fff6be3f.tar.bz2
linux-a015b7085979b12e55f67f3b86be0321fff6be3f.zip
compiler_attributes.h: Add __disable_sanitizer_instrumentation
The new attribute maps to __attribute__((disable_sanitizer_instrumentation)), which will be supported by Clang >= 14.0. Future support in GCC is also possible. This attribute disables compiler instrumentation for kernel sanitizer tools, making it easier to implement noinstr. It is different from the existing __no_sanitize* attributes, which may still allow certain types of instrumentation to prevent false positives. Signed-off-by: Alexander Potapenko <glider@google.com> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/Kconfig.kcsan')
0 files changed, 0 insertions, 0 deletions