Skip to content

Commit 29ff262

Browse files
committed
[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
1 parent cbd2b7c commit 29ff262

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler-rt/lib/hwasan/hwasan.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,6 @@ void HwasanTagMismatch(uptr addr, uptr access_info, uptr *registers_frame,
232232

233233
HandleTagMismatch(ai, (uptr)__builtin_return_address(0),
234234
(uptr)__builtin_frame_address(0), nullptr, registers_frame);
235-
__builtin_unreachable();
236235
}
237236

238237
Thread *GetCurrentThread() {

0 commit comments

Comments
 (0)