[PATCH] D43148: Adding msan support for FreeBSD

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 14 15:25:50 PST 2018


devnexen updated this revision to Diff 134331.

https://reviews.llvm.org/D43148

Files:
  lib/Driver/ToolChains/FreeBSD.cpp


Index: lib/Driver/ToolChains/FreeBSD.cpp
===================================================================
--- lib/Driver/ToolChains/FreeBSD.cpp
+++ lib/Driver/ToolChains/FreeBSD.cpp
@@ -397,5 +424,7 @@
     Res |= SanitizerKind::Fuzzer;
     Res |= SanitizerKind::FuzzerNoLink;
   }
+  if (IsX86_64)
+    Res |= SanitizerKind::Memory;
   return Res;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43148.134331.patch
Type: text/x-patch
Size: 356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180214/6b8fb7a4/attachment.bin>


More information about the cfe-commits mailing list