diff options
author | 2021-11-30 12:44:32 +0100 | |
---|---|---|
committer | 2021-12-09 16:42:28 -0800 | |
commit | a015b7085979b12e55f67f3b86be0321fff6be3f (patch) | |
tree | 01dd3b8c30b0a0de4b3551685f7deb4a95b6a239 /scripts/gdb/linux/utils.py | |
parent | objtool, kcsan: Remove memory barrier instrumentation from noinstr (diff) | |
download | linux-dev-a015b7085979b12e55f67f3b86be0321fff6be3f.tar.xz linux-dev-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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions