labath accepted this revision.
labath added a comment.
This revision is now accepted and ready to land.

I like what you did with the test. Originally, I wanted to just compare the raw 
memory contents, but this keeps it more inline with the spirit of the original 
test. I have just one question about the list zipping, but otherwise lgtm.



================
Comment at: 
packages/Python/lldbsuite/test/functionalities/disassembly/TestDisassembleBreakpoint.py:48-49
+        # instructions before inserting breakpoints.
+        for dis_inst_before, dis_inst_after in \
+                zip(disassembly_before_break, disassembly_after_break):
+            inst_before = dis_inst_before.split(':')[-1]
----------------
what will this do if the lists are of different length? Should you assert that 
the length matches as well?


https://reviews.llvm.org/D44472



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] ... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Pavel Labath via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
    • [Lldb-comm... Alexandre Yukio Yamashita via Phabricator via lldb-commits
      • Re: [L... Davide Italiano via lldb-commits
        • [L... Davide Italiano via Phabricator via lldb-commits
    • [Lldb-comm... Leonardo Bianconi via Phabricator via lldb-commits
    • [Lldb-comm... Davide Italiano via Phabricator via lldb-commits
    • [Lldb-comm... Davide Italiano via Phabricator via lldb-commits
      • Re: [L... Davide Italiano via lldb-commits
        • [L... Davide Italiano via Phabricator via lldb-commits
    • [Lldb-comm... Leonardo Bianconi via Phabricator via lldb-commits

Reply via email to