[Lldb-commits] [PATCH] D31283: Expose hit count via SBBreakpointLocation.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 23 10:17:11 PDT 2017


jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

If you are exposing this, could you write a test to make sure it stays correct?  I added a sample test that you can easily copy and modify in:

packages/Python/lldbsuite/test/sample_test

The TestSampleTest.py test makes the binary, loads it into lldb and runs to a breakpoint.  So it should be trivial to just check the location and make sure it is correct.  Maybe drive around a little more and make sure it updates...

The breakpoint tests go in functionalities/breakpoints.  Don't forget to reset the "LEVEL" variable in the Makefile to track the test location.


https://reviews.llvm.org/D31283





More information about the lldb-commits mailing list