Ignore:
File:
1 edited

Legend:

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

    rbf05c74 rbe6e37a  
    113113void __ubsan_handle_pointer_overflow(struct pointer_overflow_data *data,
    114114    unsigned long base, unsigned long result);
     115void __ubsan_handle_builtin_unreachable(struct unreachable_data *data);
    115116
    116117static void print_loc(const char *func, struct source_location *loc)
     
    255256        ubsan_panic();
    256257}
     258
     259void __ubsan_handle_builtin_unreachable(struct unreachable_data *data)
     260{
     261        print_loc(__func__, &data->loc);
     262        ubsan_panic();
     263}
Note: See TracChangeset for help on using the changeset viewer.