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

Mitch Phillips via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 7 15:20:09 PDT 2022


hctim added a comment.

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.


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