From 99c8eb8781c6336d76d78d6da07b8ba179eed87d Mon Sep 17 00:00:00 2001 From: Petr Hosek Date: Tue, 27 Mar 2018 21:33:12 +0000 Subject: [PATCH] [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 llvm-svn: 328672 --- clang/lib/Driver/ToolChains/Fuchsia.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Driver/ToolChains/Fuchsia.cpp b/clang/lib/Driver/ToolChains/Fuchsia.cpp index aa6b9394aedc..1b22309728d4 100644 --- a/clang/lib/Driver/ToolChains/Fuchsia.cpp +++ b/clang/lib/Driver/ToolChains/Fuchsia.cpp @@ -280,6 +280,7 @@ SanitizerMask Fuchsia::getSupportedSanitizers() const { SanitizerMask Res = ToolChain::getSupportedSanitizers(); Res |= SanitizerKind::Address; Res |= SanitizerKind::Fuzzer; + Res |= SanitizerKind::FuzzerNoLink; Res |= SanitizerKind::SafeStack; Res |= SanitizerKind::Scudo; return Res;