With this option, clang can use -fsanitize=thread on AArch64.
Patch by Adhemerval Zanella.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244091
91177308-0d34-0410-b5e6-
96231b3b80d8
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) {