diff options
author | Florian Mayer <fmayer@google.com> | 2022-08-05 12:09:05 -0700 |
---|---|---|
committer | Florian Mayer <fmayer@google.com> | 2022-08-05 13:14:08 -0700 |
commit | 29ff262761aff2e45cfa11659f677de83a830017 (patch) | |
tree | 81399edfbf56fc749be5e4fc80593c1bdc66b2d0 | |
parent | cbd2b7cda45b01e521e563415f9a2994bee2dd0a (diff) |
[HWASan] Remove incorrect unreachable.
This function could be called wih access_info & 0x20 or with
flags()->halt_on_error, in which case HandleTagMismatch returns (is not
fatal).
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D131279
-rw-r--r-- | compiler-rt/lib/hwasan/hwasan.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler-rt/lib/hwasan/hwasan.cpp b/compiler-rt/lib/hwasan/hwasan.cpp index b771025cb93d..352e4c8ce124 100644 --- a/compiler-rt/lib/hwasan/hwasan.cpp +++ b/compiler-rt/lib/hwasan/hwasan.cpp @@ -232,7 +232,6 @@ void HwasanTagMismatch(uptr addr, uptr access_info, uptr *registers_frame, HandleTagMismatch(ai, (uptr)__builtin_return_address(0), (uptr)__builtin_frame_address(0), nullptr, registers_frame); - __builtin_unreachable(); } Thread *GetCurrentThread() { |