[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
Loading
Please sign in to comment