[Lldb-commits] [PATCH] D15834: Handle hardcoded breakpoints on Windows (e.g., int3 or __debugbreak())

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 7 07:34:19 PST 2016


zturner added a comment.

In http://reviews.llvm.org/D15834#319237, @amccarth wrote:

> In http://reviews.llvm.org/D15834#318623, @labath wrote:
>
> > Linux tests the same functionality in TestBuiltinTrap.py. Would it make sense to merge these two tests, given that the only difference is which compiler intrinsic is used to generate the int3 trap?
>
>
> Yes, it makes sense to combine the tests.  The existing test does use the SB API very well, and TestBuiltinTrap.py is in a Linux-specific part of the test tree, so this may be more of re-working the Linux test to work much like this new one.


Do clang / gcc have an intrinsic to generate an int3?


http://reviews.llvm.org/D15834





More information about the lldb-commits mailing list