[PATCH] D127163: [clang] Add -fsanitize=memtag-globals (no-op).

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 15:40:54 PDT 2022


vitalybuka added a comment.

In D127163#3564919 <https://reviews.llvm.org/D127163#3564919>, @hctim wrote:

> We already have `-fsanitize=memtag` that implies `-fsanitize=memtag-heap` and `-fsanitize=memtag-stack`.
>
> It makes the most sense IMHO in the world where we want heap MTE. `-fsanitize=memtag-heap` is the most reasonable instead of `-fsanitize-memtag-heap`, as "do i need `-fsanitize=memtag` as well, like MSan?" is never a question.

I see, thanks for explaining.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127163/new/

https://reviews.llvm.org/D127163



More information about the cfe-commits mailing list