[all-commits] [llvm/llvm-project] fe5f66: [HWASan][NFC] Introduce constants for tag bits and...

Matt Morehouse via All-commits all-commits at lists.llvm.org
Mon Mar 22 12:33:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe5f66d925c31dd8e4d6e6692284a5b28208bd28
      https://github.com/llvm/llvm-project/commit/fe5f66d925c31dd8e4d6e6692284a5b28208bd28
  Author: Matt Morehouse <mascasa at google.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

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

  Log Message:
  -----------
  [HWASan][NFC] Introduce constants for tag bits and masks.

x86_64 aliasing mode will use fewer than 8 bits for tags, so refactor
existing code to remove hard-coded 0xff and 8 values.

Reviewed By: vitalybuka, eugenis

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




More information about the All-commits mailing list