[all-commits] [llvm/llvm-project] 5d8281: [compiler-rt][hwasan] Support for Intel LAM v6 API

Alexander Potapenko via All-commits all-commits at lists.llvm.org
Fri Aug 26 01:21:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d82819583b241e092b3529e4f52239f6f18afaf
      https://github.com/llvm/llvm-project/commit/5d82819583b241e092b3529e4f52239f6f18afaf
  Author: Alexander Potapenko <glider at google.com>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M compiler-rt/lib/hwasan/hwasan_linux.cpp

  Log Message:
  -----------
  [compiler-rt][hwasan] Support for Intel LAM v6 API

Version 6 of Intel LAM kernel patches
(https://lore.kernel.org/all/20220815041803.17954-1-kirill.shutemov@linux.intel.com/)
introduces arch_prctl(ARCH_GET_MAX_TAG_BITS), which (unlike
ARCH_GET_UNTAG_MASK) can be used to determine if the kernel really
supports pointer tagging. arch_prctl(ARCH_GET_UNTAG_MASK) will be used to
verify that HWASan can place tags in the given bit range.

Depends on D132545

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




More information about the All-commits mailing list