HomePhabricator

[HWASan][NFC] Introduce constants for tag bits and masks.

Authored by morehouse on Mar 22 2021, 12:29 PM.

Description

[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