[PATCH] D43148: Adding msan support for FreeBSD
David CARLIER via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 9 15:35:15 PST 2018
devnexen created this revision.
devnexen added a reviewer: krytarowski.
devnexen created this object with visibility "All Users".
Herald added subscribers: cfe-commits, emaste.
Enabling memory sanitiser for X86_64 arch only. To match the sanitiser counterpart.
Repository:
rC Clang
https://reviews.llvm.org/D43148
Files:
FreeBSD.cpp
Index: FreeBSD.cpp
===================================================================
--- FreeBSD.cpp
+++ FreeBSD.cpp
@@ -394,6 +394,8 @@
Res |= SanitizerKind::SafeStack;
Res |= SanitizerKind::Fuzzer;
Res |= SanitizerKind::FuzzerNoLink;
+ if (IsX86_64)
+ Res |= SanitizerKind::Memory;
}
return Res;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43148.133702.patch
Type: text/x-patch
Size: 334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180209/2fbae0f1/attachment.bin>
More information about the cfe-commits
mailing list