Skip to content

Commit a452ca4

Browse files
committed
[lldb] Extend isAArch64 to arm64 and arm64e
This fixes TestMemoryTag on Apple Silicon.
1 parent 9934a5b commit a452ca4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/packages/Python/lldbsuite/test/lldbtest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,8 @@ def getCPUInfo(self):
12931293

12941294
def isAArch64(self):
12951295
"""Returns true if the architecture is AArch64."""
1296-
return self.getArchitecture().lower() == "aarch64"
1296+
arch = self.getArchitecture().lower()
1297+
return arch in ["aarch64", "arm64", "arm64e"]
12971298

12981299
def isAArch64SVE(self):
12991300
return self.isAArch64() and "sve" in self.getCPUInfo()

0 commit comments

Comments
 (0)