aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/compiler-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler-version.h')
-rw-r--r--include/linux/compiler-version.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/compiler-version.h b/include/linux/compiler-version.h
index 4b9d39b37650..ac1665a98a15 100644
--- a/include/linux/compiler-version.h
+++ b/include/linux/compiler-version.h
@@ -32,3 +32,13 @@
#ifdef RANDSTRUCT
#include <generated/randstruct_hash.h>
#endif
+
+/*
+ * If any external changes affect Clang's integer wrapping sanitizer
+ * behavior, a full rebuild is needed as the coverage for wrapping types
+ * may have changed, which may impact the expected behaviors that should
+ * not differ between compilation units.
+ */
+#ifdef INTEGER_WRAP
+#include <generated/integer-wrap.h>
+#endif