Changes in kernel/generic/src/lib/ubsan.c [bec6379:be6e37a] in mainline
- File:
-
- 1 edited
-
kernel/generic/src/lib/ubsan.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/ubsan.c
rbec6379 rbe6e37a 10 10 #include <stddef.h> 11 11 #include <panic.h> 12 #include <mem w.h>12 #include <mem.h> 13 13 14 14 #define PRINTF(...) printf(__VA_ARGS__) 15 #define ubsan_panic() panic("... aborting ...") 15 16 16 17 struct source_location { … … 114 115 void __ubsan_handle_builtin_unreachable(struct unreachable_data *data); 115 116 116 /* A real function for potential breakpoint location. */117 __attribute__((noinline))118 static void ubsan_panic(void)119 {120 panic("... aborting ...");121 }122 123 117 static void print_loc(const char *func, struct source_location *loc) 124 118 {
Note:
See TracChangeset
for help on using the changeset viewer.
