[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
GitOrigin-RevId: 29ff262761aff2e45cfa11659f677de83a830017
diff --git a/lib/hwasan/hwasan.cpp b/lib/hwasan/hwasan.cpp
index b771025..352e4c8 100644
--- a/lib/hwasan/hwasan.cpp
+++ b/lib/hwasan/hwasan.cpp
@@ -232,7 +232,6 @@
HandleTagMismatch(ai, (uptr)__builtin_return_address(0),
(uptr)__builtin_frame_address(0), nullptr, registers_frame);
- __builtin_unreachable();
}
Thread *GetCurrentThread() {