[AArch64] Enable thread sanitizer on clang

With this option, clang can use -fsanitize=thread on AArch64.

Patch by Adhemerval Zanella.

llvm-svn: 244091
This commit is contained in:
Renato Golin 2015-08-05 18:42:41 +00:00
parent 73e66f323a
commit d45c2df4ab
1 changed files with 2 additions and 2 deletions

View File

@ -3626,10 +3626,10 @@ SanitizerMask Linux::getSupportedSanitizers() const {
Res |= SanitizerKind::Vptr;
if (IsX86_64 || IsMIPS64 || IsAArch64)
Res |= SanitizerKind::DataFlow;
if (IsX86_64 || IsMIPS64) {
if (IsX86_64 || IsMIPS64)
Res |= SanitizerKind::Leak;
if (IsX86_64 || IsMIPS64 || IsAArch64)
Res |= SanitizerKind::Thread;
}
if (IsX86_64 || IsMIPS64 || IsPowerPC64)
Res |= SanitizerKind::Memory;
if (IsX86 || IsX86_64) {