Reenable detailed UBsan messages

This commit is contained in:
Mark 2020-07-05 18:54:29 +03:00
parent b646a11dc3
commit b8a9f12307

View File

@ -26,7 +26,7 @@ struct type_descriptor {
#endif
static __ubsan_abort__ void ubsan_abort(struct source_location *loc, const char *error) {
//kfatal("%s:%d: %s\n", loc->file, loc->line, error);
kfatal("%s:%d: %s\n", loc->file, loc->line, error);
#if defined(UBSAN_ABORT)
panic("Undefined behavior detected\n");
#endif