Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/lib/ubsan.c

    rb169619 rbec6379  
    1313
    1414#define PRINTF(...) printf(__VA_ARGS__)
    15 #define ubsan_panic() panic("... aborting ...")
    1615
    1716struct source_location {
     
    115114void __ubsan_handle_builtin_unreachable(struct unreachable_data *data);
    116115
     116/* A real function for potential breakpoint location. */
     117__attribute__((noinline))
     118    static void ubsan_panic(void)
     119{
     120        panic("... aborting ...");
     121}
     122
    117123static void print_loc(const char *func, struct source_location *loc)
    118124{
Note: See TracChangeset for help on using the changeset viewer.