devnexen created this revision. devnexen added reviewers: brad, thakis. Herald added a subscriber: cfe-commits.
Repository: rC Clang https://reviews.llvm.org/D44878 Files: lib/Driver/ToolChains/OpenBSD.cpp Index: lib/Driver/ToolChains/OpenBSD.cpp =================================================================== --- lib/Driver/ToolChains/OpenBSD.cpp +++ lib/Driver/ToolChains/OpenBSD.cpp @@ -236,8 +236,11 @@ // For future use, only UBsan at the moment SanitizerMask Res = ToolChain::getSupportedSanitizers(); - if (IsX86 || IsX86_64) + if (IsX86 || IsX86_64) { Res |= SanitizerKind::Vptr; + Res |= SanitizerKind::Fuzzer; + Res |= SanitizerKind::FuzzerNoLink; + } return Res; }
Index: lib/Driver/ToolChains/OpenBSD.cpp =================================================================== --- lib/Driver/ToolChains/OpenBSD.cpp +++ lib/Driver/ToolChains/OpenBSD.cpp @@ -236,8 +236,11 @@ // For future use, only UBsan at the moment SanitizerMask Res = ToolChain::getSupportedSanitizers(); - if (IsX86 || IsX86_64) + if (IsX86 || IsX86_64) { Res |= SanitizerKind::Vptr; + Res |= SanitizerKind::Fuzzer; + Res |= SanitizerKind::FuzzerNoLink; + } return Res; }
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits