[Lldb-commits] [PATCH] D15915: [LLDB][MIPS] Fix TestDisassembleRawData.py

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 11 11:34:56 PST 2016


ovyalov accepted this revision.

================
Comment at: packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py:29
@@ +28,3 @@
+        elif re.match("mips",arch):
+             target = self.dbg.CreateTargetWithFileAndTargetTriple ("", "mips")
+             raw_bytes = bytearray([0x03,0xa0, 0xf0, 0x21])
----------------
indentation

================
Comment at: packages/Python/lldbsuite/test/python_api/disassemble-raw-data/TestDisassembleRawData.py:48
@@ +47,3 @@
+        else:
+             self.assertTrue (inst.GetMnemonic(target) == "movq")
+             self.assertTrue (inst.GetOperands(target) == '%' + "rsp, " + '%' + "rbp")
----------------
ditto


Repository:
  rL LLVM

http://reviews.llvm.org/D15915





More information about the lldb-commits mailing list