Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset be6e37a in mainline


Ignore:
Timestamp:
2018-11-09T22:29:41Z (3 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master
Children:
5071f8a
Parents:
95d45482
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-06 19:21:30)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:29:41)
Message:

Fix ubsan

File:
1 edited

Legend:

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

    r95d45482 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.