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

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Jan 7 10:25:39 PST 2016


On OS X, there's a "__builtin_debugtrap()" that generates an int3 on x86.  That seems more appropriate for this purpose anyway.  Don't know whether such a thing exists on Linux, however.

Jim


> On Jan 7, 2016, at 7:56 AM, Pavel Labath <labath at google.com> wrote:
> 
> labath added a comment.
> 
> I looked for a while this morning, but I couldn't find any. You can do it with inline asm, but that's about it, I think.
> 
> 
> http://reviews.llvm.org/D15834
> 
> 
> 



More information about the lldb-commits mailing list