r328672 - [Driver] Add fuzzer-no-link into the list of supported Fuchsia sanitizers

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 27 14:33:13 PDT 2018


Author: phosek
Date: Tue Mar 27 14:33:12 2018
New Revision: 328672

URL: http://llvm.org/viewvc/llvm-project?rev=328672&view=rev
Log:
[Driver] Add fuzzer-no-link into the list of supported Fuchsia sanitizers

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

Differential Revision: https://reviews.llvm.org/D44947

Modified:
    cfe/trunk/lib/Driver/ToolChains/Fuchsia.cpp

Modified: cfe/trunk/lib/Driver/ToolChains/Fuchsia.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Fuchsia.cpp?rev=328672&r1=328671&r2=328672&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Fuchsia.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains/Fuchsia.cpp Tue Mar 27 14:33:12 2018
@@ -280,6 +280,7 @@ SanitizerMask Fuchsia::getSupportedSanit
   SanitizerMask Res = ToolChain::getSupportedSanitizers();
   Res |= SanitizerKind::Address;
   Res |= SanitizerKind::Fuzzer;
+  Res |= SanitizerKind::FuzzerNoLink;
   Res |= SanitizerKind::SafeStack;
   Res |= SanitizerKind::Scudo;
   return Res;




More information about the cfe-commits mailing list