diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-27 21:08:38 +0200 |
---|---|---|
committer | Angel Pons <th3fanbus@gmail.com> | 2020-07-31 19:53:27 +0000 |
commit | 7d6dae68708a6063565eff110f36b36a7e4fc545 (patch) | |
tree | 253a2528c90753d629e07e926b15c9c7ea1a2d22 /src/console | |
parent | 5f9f77672d096a013094f3cad63cb138167dbf1b (diff) | |
download | coreboot-7d6dae68708a6063565eff110f36b36a7e4fc545.tar.xz |
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/console')
0 files changed, 0 insertions, 0 deletions