[llvm] [HWASan] Add hwasan-tag-mask flag (PR #191088)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 14:47:45 PDT 2026


================
@@ -4,6 +4,7 @@
 ;
 ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset-dynamic=ifunc -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=DYNAMIC-SHADOW
 ; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0 -S | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW
+; RUN: opt < %s -passes=hwasan -hwasan-mapping-offset=0 -hwasan-with-frame-record=0  -hwasan-non-negative-pointers -S | FileCheck %s --check-prefixes=ZERO-BASED-SHADOW-NON-NEGATIVE
----------------
fmayer wrote:

> can you precommit test without the flag for easier review ?

I'll precommit if this LGTY

https://github.com/llvm/llvm-project/pull/191088


More information about the llvm-commits mailing list