[PATCH] D56607: [clang] [NetBSD] Enable additional sanitizer types

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 11 09:23:42 PST 2019


mgorny created this revision.
mgorny added a reviewer: krytarowski.

Repository:
  rC Clang

https://reviews.llvm.org/D56607

Files:
  lib/Driver/ToolChains/NetBSD.cpp


Index: lib/Driver/ToolChains/NetBSD.cpp
===================================================================
--- lib/Driver/ToolChains/NetBSD.cpp
+++ lib/Driver/ToolChains/NetBSD.cpp
@@ -432,10 +432,15 @@
     Res |= SanitizerKind::Vptr;
   }
   if (IsX86_64) {
+    Res |= SanitizerKind::DataFlow;
     Res |= SanitizerKind::Efficiency;
+    Res |= SanitizerKind::Function;
     Res |= SanitizerKind::Fuzzer;
     Res |= SanitizerKind::FuzzerNoLink;
+    Res |= SanitizerKind::HWAddress;
     Res |= SanitizerKind::KernelAddress;
+    Res |= SanitizerKind::KernelHWAddress;
+    Res |= SanitizerKind::KernelMemory;
     Res |= SanitizerKind::Memory;
     Res |= SanitizerKind::Thread;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56607.181296.patch
Type: text/x-patch
Size: 690 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190111/2e8596fb/attachment.bin>


More information about the cfe-commits mailing list