summaryrefslogtreecommitdiff
path: root/include/btle_hci2.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@chromium.org>2021-01-06 10:21:43 +0800
committerCommit Bot <commit-bot@chromium.org>2021-01-11 04:03:37 +0000
commit23073aa336343ab0a2fec8e60a861a07d40d2f7d (patch)
tree28c8c57348a5b0ea3f0b9d37787d65ffe6f5036c /include/btle_hci2.h
parent034be0ff1c2ff20a92dac94662e9302595043b0b (diff)
downloadchrome-ec-23073aa336343ab0a2fec8e60a861a07d40d2f7d.tar.gz
core/riscv-rv32i: Use -fsanitize-undefined-trap-on-error
Let's use -fsanitize-undefined-trap-on-error instead, to trap division by zero. This only adds 2 instructions to each division (a branch and an ebreak). BRANCH=none BUG=b:173969773 TEST=crash divzero crashes asurada TEST=tast run -var servo=localhost:9999 dut9999 crash.ECCrash passes Change-Id: I50d6016d457089ddcb105026656e1bf09bd1df81 Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2612226 Commit-Queue: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'include/btle_hci2.h')
0 files changed, 0 insertions, 0 deletions