File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -923,6 +923,9 @@ SanitizerMask ToolChain::getSupportedSanitizers() const {
923
923
if (getTriple ().getArch () == llvm::Triple::x86_64 ||
924
924
getTriple ().getArch () == llvm::Triple::aarch64)
925
925
Res |= SanitizerKind::ShadowCallStack;
926
+ if (getTriple ().getArch () == llvm::Triple::aarch64 ||
927
+ getTriple ().getArch () == llvm::Triple::aarch64_be)
928
+ Res |= SanitizerKind::MemTag;
926
929
return Res;
927
930
}
928
931
Original file line number Diff line number Diff line change @@ -1029,8 +1029,6 @@ SanitizerMask Linux::getSupportedSanitizers() const {
1029
1029
Res |= SanitizerKind::HWAddress;
1030
1030
Res |= SanitizerKind::KernelHWAddress;
1031
1031
}
1032
- if (IsAArch64)
1033
- Res |= SanitizerKind::MemTag;
1034
1032
return Res;
1035
1033
}
1036
1034
You can’t perform that action at this time.
0 commit comments