[all-commits] [llvm/llvm-project] 81c18c: [HWASAN] Update the tag info for X86_64.

xiangzh1 via All-commits all-commits at lists.llvm.org
Wed May 19 20:22:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 81c18ce03cd8199cc4f2c817e31b42a191a0fe7d
      https://github.com/llvm/llvm-project/commit/81c18ce03cd8199cc4f2c817e31b42a191a0fe7d
  Author: Xiang1 Zhang <xiang1.zhang at intel.com>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
    A llvm/test/Instrumentation/HWAddressSanitizer/X86/stack.ll

  Log Message:
  -----------
  [HWASAN] Update the tag info for X86_64.

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.

Differential Revision: https://reviews.llvm.org/D102472




More information about the All-commits mailing list