[compiler-rt] [compiler-rt] [Darwin] Strip MTE tags from ASAN and TSAN (PR #166453)
Dan Blackwell via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 5 02:03:43 PST 2025
DanBlackwell wrote:
> Would `StripTag` be better off in sanitizer_common?
>
> P.S. HWASan has a similar function, `UntagAddr`.
This is true, but HWASan uses all 8 bits of TBI [63:56]; while MTE uses only [59:56]. Perhaps `StripTag` should be named `StripMTEtag` in order to avoid future confusion? I do agree that this could move up to sanitizer_common.
https://github.com/llvm/llvm-project/pull/166453
More information about the llvm-commits
mailing list