[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:
parent
73e66f323a
commit
d45c2df4ab
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue