forked from OSchip/llvm-project
[PPC64, TSAN] Enable thread sanitizer for PPC64
Patch by Simone Atzeni. This enables the -fsanitize=thread flag for PPC64 and PPC64LE. llvm-svn: 255067
This commit is contained in:
parent
1cbb289c7d
commit
4b8841a327
|
@ -4169,7 +4169,7 @@ SanitizerMask Linux::getSupportedSanitizers() const {
|
|||
Res |= SanitizerKind::DataFlow;
|
||||
if (IsX86_64 || IsMIPS64 || IsAArch64)
|
||||
Res |= SanitizerKind::Leak;
|
||||
if (IsX86_64 || IsMIPS64 || IsAArch64)
|
||||
if (IsX86_64 || IsMIPS64 || IsAArch64 || IsPowerPC64)
|
||||
Res |= SanitizerKind::Thread;
|
||||
if (IsX86_64 || IsMIPS64 || IsPowerPC64 || IsAArch64)
|
||||
Res |= SanitizerKind::Memory;
|
||||
|
|
Loading…
Reference in New Issue