[HWASAN] Remove UAR tag branch !ClUARRetagToZero
authorVitaly Buka <vitalybuka@google.com>
Sun, 23 Apr 2023 06:40:50 +0000 (23:40 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 26 Apr 2023 22:27:36 +0000 (15:27 -0700)
commit6e8b2a8054205e86cd317093e9926ffec432802a
treec9900e9d3a898151f1eac3d0f2eeb60cdbe56e2d
parent5c9629a714203276c9662313b5b86c0330a6a1b4
[HWASAN] Remove UAR tag branch !ClUARRetagToZero

This is leftover from older version of HWASAN.
The current HWASAN assumes that the new stack
frames are tagged with zeroes, which make getNextTagWithCall
or StackTag ^ TagMaskByte unusable.

Reviewed By: kstoimenov, eugenis

Differential Revision: https://reviews.llvm.org/D149220
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
llvm/test/Instrumentation/HWAddressSanitizer/RISCV/alloca.ll
llvm/test/Instrumentation/HWAddressSanitizer/X86/alloca.ll
llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll