[Lldb-commits] [PATCH] D52532: Pull GetSoftwareBreakpointPCOffset into base class
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 26 00:51:56 PDT 2018
labath created this revision.
labath added reviewers: krytarowski, zturner.
This function encodes the knowledge of whether the PC points to the
breakpoint instruction of the one following it after the breakpoint is
"hit". This behavior mainly(*) depends on the architecture and not on the
OS, so it makes sense for it to be implemented in the base class, where
it can be shared between different implementations (Linux and NetBSD
(*) It is possible for an OS to expose a different API, perhaps by doing
some fixups in the kernel. In this case, the implementation can override
this function to implement custom behavior.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6388 bytes
Desc: not available
More information about the lldb-commits