hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/lib/ubsan.h
....@@ -57,11 +57,6 @@
5757 int arg_index;
5858 };
5959
60
-struct vla_bound_data {
61
- struct source_location location;
62
- struct type_descriptor *type;
63
-};
64
-
6560 struct out_of_bounds_data {
6661 struct source_location location;
6762 struct type_descriptor *array_type;
....@@ -83,7 +78,13 @@
8378 struct type_descriptor *type;
8479 };
8580
86
-#if defined(CONFIG_ARCH_SUPPORTS_INT128) && defined(__SIZEOF_INT128__)
81
+struct alignment_assumption_data {
82
+ struct source_location location;
83
+ struct source_location assumption_location;
84
+ struct type_descriptor *type;
85
+};
86
+
87
+#if defined(CONFIG_ARCH_SUPPORTS_INT128)
8788 typedef __int128 s_max;
8889 typedef unsigned __int128 u_max;
8990 #else