summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2018-09-30 15:58:52 +0000
committerPavel Labath <pavel@labath.sk>2018-09-30 15:58:52 +0000
commit99f436b0554a0ba1bf276eae93d83db3a7f674f2 (patch)
tree0014d8715349f5b3784187521642f74536cb8c77 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentc37e58cc19272304e88611a4b838b01890d982cf (diff)
downloadbcm5719-llvm-99f436b0554a0ba1bf276eae93d83db3a7f674f2.tar.gz
bcm5719-llvm-99f436b0554a0ba1bf276eae93d83db3a7f674f2.zip
Pull GetSoftwareBreakpointPCOffset into base class
Summary: 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 atm). (*) 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. Reviewers: krytarowski, zturner Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D52532 llvm-svn: 343409
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud