projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda...
[linux-2.6-microblaze.git]
/
include
/
linux
/
compiler-gcc.h
diff --git
a/include/linux/compiler-gcc.h
b/include/linux/compiler-gcc.h
index
61c1479
..
21c36b6
100644
(file)
--- a/
include/linux/compiler-gcc.h
+++ b/
include/linux/compiler-gcc.h
@@
-119,6
+119,12
@@
#define __no_sanitize_undefined
#endif
#define __no_sanitize_undefined
#endif
+#if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__)
+#define __no_sanitize_coverage __attribute__((no_sanitize_coverage))
+#else
+#define __no_sanitize_coverage
+#endif
+
#if GCC_VERSION >= 50100
#define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1
#endif
#if GCC_VERSION >= 50100
#define COMPILER_HAS_GENERIC_BUILTIN_OVERFLOW 1
#endif