From 27f08257689efde959f899144b3c1de187b68064 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328672 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/ToolChains/Fuchsia.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Driver/ToolChains/Fuchsia.cpp b/lib/Driver/ToolChains/Fuchsia.cpp index aa6b9394ae..1b22309728 100644 --- a/lib/Driver/ToolChains/Fuchsia.cpp +++ b/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; -- 2.40.0