[PATCH] D42275: [Fuchsia] Enable Fuzzer as a supported sanitizer on Fuchsia

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 18 17:59:50 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC322916: [Fuchsia] Enable Fuzzer as a supported sanitizer on Fuchsia (authored by phosek, committed by ).

Repository:
  rC Clang

https://reviews.llvm.org/D42275

Files:
  lib/Driver/ToolChains/Fuchsia.cpp


Index: lib/Driver/ToolChains/Fuchsia.cpp
===================================================================
--- lib/Driver/ToolChains/Fuchsia.cpp
+++ lib/Driver/ToolChains/Fuchsia.cpp
@@ -278,8 +278,9 @@
 
 SanitizerMask Fuchsia::getSupportedSanitizers() const {
   SanitizerMask Res = ToolChain::getSupportedSanitizers();
-  Res |= SanitizerKind::SafeStack;
   Res |= SanitizerKind::Address;
+  Res |= SanitizerKind::Fuzzer;
+  Res |= SanitizerKind::SafeStack;
   Res |= SanitizerKind::Scudo;
   return Res;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42275.130531.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180119/422f9a26/attachment-0001.bin>


More information about the cfe-commits mailing list