forked from OSchip/llvm-project
[sanitizers] Enable memory sanitizer on clang
This patch enables MSan for aarch64/linux llvm-svn: 247808
This commit is contained in:
parent
f0c95bd2ca
commit
567b9260fa
|
@ -3761,7 +3761,7 @@ SanitizerMask Linux::getSupportedSanitizers() const {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue