[PATCH] D102472: [HWASAN] Update the tag info for X86_64

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 14 01:05:30 PDT 2021


xiangzhangllvm created this revision.
xiangzhangllvm added reviewers: eugenis, vitalybuka, morehouse.
Herald added subscribers: pengfei, hiraditya.
xiangzhangllvm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In LAM model X86_64 will use bits 57-62 (of 0-63) as HWASAN tag.
So here we make sure the tag shift position and tag mask is correct for x86-64.


https://reviews.llvm.org/D102472

Files:
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/test/Instrumentation/HWAddressSanitizer/X86/stack.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102472.345364.patch
Type: text/x-patch
Size: 11415 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210514/2751c40c/attachment.bin>


More information about the llvm-commits mailing list