[Lldb-commits] [PATCH] D116912: [lldb] Check for arm64 in TestDisassembleRawData
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Jan 9 21:37:10 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGaad27a890754: [lldb] Check for arm64 in TestDisassembleRawData (authored by kastiglione).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116912/new/
https://reviews.llvm.org/D116912
Files:
lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
Index: lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
===================================================================
--- lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
+++ lldb/test/API/python_api/disassemble-raw-data/TestDisassembleRawData.py
@@ -31,7 +31,7 @@
elif re.match("powerpc64le", arch):
target = self.dbg.CreateTargetWithFileAndTargetTriple("", "powerpc64le")
raw_bytes = bytearray([0x00, 0x00, 0x80, 0x38])
- elif arch == "aarch64":
+ elif arch in ("aarch64", "arm64"):
target = self.dbg.CreateTargetWithFileAndTargetTriple("", "aarch64")
raw_bytes = bytearray([0x60, 0x0c, 0x80, 0x52])
elif arch == "arm":
@@ -57,7 +57,7 @@
elif re.match("powerpc64le", arch):
self.assertEqual(inst.GetMnemonic(target), "li")
self.assertEqual(inst.GetOperands(target), "4, 0")
- elif arch == "aarch64":
+ elif arch in ("aarch64", "arm64"):
self.assertEqual(inst.GetMnemonic(target), "mov")
self.assertEqual(inst.GetOperands(target), "w0, #0x63")
elif arch == "arm":
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116912.398506.patch
Type: text/x-patch
Size: 1185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220110/3dcddaa0/attachment.bin>
More information about the lldb-commits
mailing list