[lldb/Breakpoint] Rename StoppointLocation to StoppointSite and drop its relationship...
authorTatyana Krasnukha <tatyana@synopsys.com>
Thu, 23 Jul 2020 15:41:14 +0000 (18:41 +0300)
committerTatyana Krasnukha <tatyana@synopsys.com>
Wed, 29 Jul 2020 19:07:46 +0000 (22:07 +0300)
commitda0bba5c9abb161ff824cf450537cf2ccf50d457
tree2bd1d9323020af112d4533cdaaac150dca28e28e
parente69138dad5a535c4027a1931f05cabab0f484974
[lldb/Breakpoint] Rename StoppointLocation to StoppointSite and drop its relationship with BreakpointLocation

Both of BreakpointLocation and BreakpointSite were inherited from StoppointLocation. However, the only thing
they shared was hit counting logic. The patch encapsulates those logic into StoppointHitCounter, renames
StoppointLocation to StoppointSite, and stops BreakpointLocation's inheriting from it.

Differential Revision: https://reviews.llvm.org/D84527
15 files changed:
lldb/include/lldb/Breakpoint/Breakpoint.h
lldb/include/lldb/Breakpoint/BreakpointLocation.h
lldb/include/lldb/Breakpoint/BreakpointSite.h
lldb/include/lldb/Breakpoint/StoppointHitCounter.h [new file with mode: 0644]
lldb/include/lldb/Breakpoint/StoppointLocation.h [deleted file]
lldb/include/lldb/Breakpoint/StoppointSite.h [new file with mode: 0644]
lldb/include/lldb/Breakpoint/Watchpoint.h
lldb/include/lldb/lldb-forward.h
lldb/source/Breakpoint/Breakpoint.cpp
lldb/source/Breakpoint/BreakpointLocation.cpp
lldb/source/Breakpoint/BreakpointSite.cpp
lldb/source/Breakpoint/CMakeLists.txt
lldb/source/Breakpoint/StoppointLocation.cpp [deleted file]
lldb/source/Breakpoint/StoppointSite.cpp [new file with mode: 0644]
lldb/source/Breakpoint/Watchpoint.cpp