mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
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:
parent
4d4ed0e288
commit
6353ecb08a
@ -424,5 +424,7 @@ SanitizerMask FreeBSD::getSupportedSanitizers() const {
|
||||
Res |= SanitizerKind::Fuzzer;
|
||||
Res |= SanitizerKind::FuzzerNoLink;
|
||||
}
|
||||
if (IsX86_64)
|
||||
Res |= SanitizerKind::Memory;
|
||||
return Res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user