[Lldb-commits] [PATCH] LLDB AddressSanitizer break on error and report data extraction

Jim Ingham jingham at apple.com
Tue Oct 7 12:11:45 PDT 2014


eStopReasonException is a Mach exception.  When you hit a breakpoint the Mach Exception with type EXC_BREAKPOINT is the actual stop reason, but this gets translated to eStopReasonBreakpoint if it the stop address is one of our breakpoints.  Similarly on Linux, you'd get an eStopReasonSignal/SIGTRAP, which would get translated to eStopReasonBreakpoint if the address was at one of our breakpoints.  The eStopReasonInstrumentation is analogous.  You stop for some system specific reason, which you then identify as an instrumentation stop, so you convert the stop reason from a general one to one specific to the event that occurred.

Jim

http://reviews.llvm.org/D5592






More information about the lldb-commits mailing list