[PATCH] D44878: libFuzzer OpenBSD support

David CARLIER via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 8 04:44:27 PDT 2018


devnexen updated this revision to Diff 141534.

https://reviews.llvm.org/D44878

Files:
  lib/Driver/ToolChains/OpenBSD.cpp


Index: lib/Driver/ToolChains/OpenBSD.cpp
===================================================================
--- lib/Driver/ToolChains/OpenBSD.cpp
+++ lib/Driver/ToolChains/OpenBSD.cpp
@@ -241,8 +241,11 @@
   // For future use, only UBsan at the moment
   SanitizerMask Res = ToolChain::getSupportedSanitizers();
 
-  if (IsX86 || IsX86_64)
+  if (IsX86 || IsX86_64) {
     Res |= SanitizerKind::Vptr;
+    Res |= SanitizerKind::Fuzzer;
+    Res |= SanitizerKind::FuzzerNoLink;
+  }
 
   return Res;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44878.141534.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180408/9ad3f5d5/attachment-0001.bin>


More information about the cfe-commits mailing list