[PATCH] D44947: [Driver] Add fuzzer-no-link into the list of supported Fuchsia sanitizers

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 12:26:46 PDT 2018


phosek created this revision.
phosek added reviewers: mcgrathr, aarongreen.
Herald added a subscriber: cfe-commits.

This is needed in addition to fuzzer in order to use libFuzzer.


Repository:
  rC Clang

https://reviews.llvm.org/D44947

Files:
  clang/lib/Driver/ToolChains/Fuchsia.cpp


Index: clang/lib/Driver/ToolChains/Fuchsia.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Fuchsia.cpp
+++ clang/lib/Driver/ToolChains/Fuchsia.cpp
@@ -280,6 +280,7 @@
   SanitizerMask Res = ToolChain::getSupportedSanitizers();
   Res |= SanitizerKind::Address;
   Res |= SanitizerKind::Fuzzer;
+  Res |= SanitizerKind::FuzzerNoLink;
   Res |= SanitizerKind::SafeStack;
   Res |= SanitizerKind::Scudo;
   return Res;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44947.139978.patch
Type: text/x-patch
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180327/2c397674/attachment.bin>


More information about the cfe-commits mailing list