Skip to content

Commit 92976b7

Browse files
anoopkg6anoopkg6
authored andcommitted
[scudo] Add scudo_standalone support for SystemZ (llvm#166187)
Add Support for scudo_standalone for SystemZ without enabling gwp_asan. Co-authored-by: anoopkg6 <[email protected]>
1 parent 10a3c8e commit 92976b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/Driver/ToolChains/Linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ SanitizerMask Linux::getSupportedSanitizers() const {
927927
if (IsX86_64 || IsSystemZ || IsPowerPC64)
928928
Res |= SanitizerKind::KernelMemory;
929929
if (IsX86_64 || IsMIPS64 || IsAArch64 || IsX86 || IsMIPS || IsArmArch ||
930-
IsPowerPC64 || IsHexagon || IsLoongArch64 || IsRISCV64)
930+
IsPowerPC64 || IsHexagon || IsLoongArch64 || IsRISCV64 || IsSystemZ)
931931
Res |= SanitizerKind::Scudo;
932932
if (IsX86_64 || IsAArch64 || IsRISCV64) {
933933
Res |= SanitizerKind::HWAddress;

compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ endif()
102102
set(ALL_CFI_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64} ${MIPS64}
103103
${HEXAGON} ${LOONGARCH64})
104104
set(ALL_SCUDO_STANDALONE_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
105-
${MIPS32} ${MIPS64} ${PPC64} ${HEXAGON} ${LOONGARCH64} ${RISCV64})
105+
${MIPS32} ${MIPS64} ${PPC64} ${HEXAGON} ${LOONGARCH64} ${RISCV64} ${S390X})
106106
if(APPLE)
107107
set(ALL_XRAY_SUPPORTED_ARCH ${X86_64} ${ARM64})
108108
else()

0 commit comments

Comments
 (0)