Adding msan support for FreeBSD

Summary: Enabling memory sanitiser for X86_64 arch only. To match the sanitiser counterpart.

Patch by: David CARLIER

Reviewers: krytarowski

Reviewed By: krytarowski

Subscribers: dim, emaste, cfe-commits

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

llvm-svn: 325241
This commit is contained in:
Kamil Rytarowski 2018-02-15 14:19:23 +00:00
parent 4d4ed0e288
commit 6353ecb08a

View File

@ -424,5 +424,7 @@ SanitizerMask FreeBSD::getSupportedSanitizers() const {
Res |= SanitizerKind::Fuzzer;
Res |= SanitizerKind::FuzzerNoLink;
}
if (IsX86_64)
Res |= SanitizerKind::Memory;
return Res;
}