r247808 - [sanitizers] Enable memory sanitizer on clang
Adhemerval Zanella via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 16 08:11:21 PDT 2015
Author: azanella
Date: Wed Sep 16 10:11:21 2015
New Revision: 247808
URL: http://llvm.org/viewvc/llvm-project?rev=247808&view=rev
Log:
[sanitizers] Enable memory sanitizer on clang
This patch enables MSan for aarch64/linux
Modified:
cfe/trunk/lib/Driver/ToolChains.cpp
Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=247808&r1=247807&r2=247808&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Wed Sep 16 10:11:21 2015
@@ -3761,7 +3761,7 @@ SanitizerMask Linux::getSupportedSanitiz
Res |= SanitizerKind::Leak;
if (IsX86_64 || IsMIPS64 || IsAArch64)
Res |= SanitizerKind::Thread;
- if (IsX86_64 || IsMIPS64 || IsPowerPC64)
+ if (IsX86_64 || IsMIPS64 || IsPowerPC64 || IsAArch64)
Res |= SanitizerKind::Memory;
if (IsX86 || IsX86_64) {
Res |= SanitizerKind::Function;
More information about the cfe-commits
mailing list