[PATCH] D130888: [Clang] Introduce -fexperimental-sanitize-metadata=

Marco Elver via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 3 03:41:14 PDT 2022


melver added inline comments.


================
Comment at: clang/test/Driver/fsanitize-metadata.c:1
+// RUN: %clang --target=x86_64-linux-gnu -fexperimental-sanitize-metadata=all -fno-experimental-sanitize-metadata=all %s -### 2>&1 | FileCheck %s
+// CHECK-NOT: -fexperimental-sanitize-metadata
----------------
MaskRay wrote:
>  -fno-experimental-sanitize-metadata= works on bitmasks. You can change this run line to remove one bit instead of all.
Added more tests to check removing one bit after =all, but left this in place for the extra coverage.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130888



More information about the cfe-commits mailing list