summaryrefslogtreecommitdiff
path: root/src/drivers/sil
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-27 21:08:38 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-07-31 19:53:27 +0000
commit7d6dae68708a6063565eff110f36b36a7e4fc545 (patch)
tree253a2528c90753d629e07e926b15c9c7ea1a2d22 /src/drivers/sil
parent5f9f77672d096a013094f3cad63cb138167dbf1b (diff)
lib/ubsan.c: Update error handlers for current toolchain's GCC
Looks like UBSan isn't being build-tested, and the toolchain has been updated several times since UBSan support was added. Unexpectedly, it no longer builds when using GCC from the current toolchain version. To fix this, rename an error handler and add a newly-introduced handler for `__ubsan_handle_pointer_overflow`, which works like the existing handlers. A config file to allow build-testing UBSan is added later. Change-Id: I5980730d8d22fa1d0512846c203004723847cc6d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43975 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/drivers/sil')
0 files changed, 0 insertions, 0 deletions