[NFC][HWASAN] Check TagMaskByte instead of TargetTriple
authorVitaly Buka <vitalybuka@google.com>
Wed, 26 Apr 2023 02:59:25 +0000 (19:59 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 26 Apr 2023 03:04:58 +0000 (20:04 -0700)
commit8fc1764ef3d18b65b52f82ca4a6bf56ac024e589
treef05e9b1a59d2b5a3df61c77c7b1654cc8e1e7deb
parent4bb68160183e4ec4a7217190d3ebfd93c06c33ab
[NFC][HWASAN] Check TagMaskByte instead of TargetTriple

We need to apply mask for x86_64 because the mask is not full byte. So
instead checking the arch we can check the mask.
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp