forked from OSchip/llvm-project
[TSan] Enable SystemZ support
Enable building the runtime and enable -fsanitize=thread in clang. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D105629
This commit is contained in:
parent
937242cecc
commit
e34078f121
|
@ -709,7 +709,7 @@ SanitizerMask Linux::getSupportedSanitizers() const {
|
|||
if (IsX86_64 || IsMIPS64 || IsAArch64 || IsX86 || IsArmArch || IsPowerPC64 ||
|
||||
IsRISCV64 || IsSystemZ)
|
||||
Res |= SanitizerKind::Leak;
|
||||
if (IsX86_64 || IsMIPS64 || IsAArch64 || IsPowerPC64)
|
||||
if (IsX86_64 || IsMIPS64 || IsAArch64 || IsPowerPC64 || IsSystemZ)
|
||||
Res |= SanitizerKind::Thread;
|
||||
if (IsX86_64)
|
||||
Res |= SanitizerKind::KernelMemory;
|
||||
|
|
|
@ -329,7 +329,7 @@ set(ALL_HWASAN_SUPPORTED_ARCH ${X86_64} ${ARM64})
|
|||
set(ALL_MEMPROF_SUPPORTED_ARCH ${X86_64})
|
||||
set(ALL_PROFILE_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${PPC32} ${PPC64}
|
||||
${MIPS32} ${MIPS64} ${S390X} ${SPARC} ${SPARCV9})
|
||||
set(ALL_TSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64})
|
||||
set(ALL_TSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64} ${S390X})
|
||||
set(ALL_UBSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${RISCV64}
|
||||
${MIPS32} ${MIPS64} ${PPC64} ${S390X} ${SPARC} ${SPARCV9})
|
||||
set(ALL_SAFESTACK_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM64} ${MIPS32} ${MIPS64})
|
||||
|
|
Loading…
Reference in New Issue