[all-commits] [llvm/llvm-project] da0bba: [lldb/Breakpoint] Rename StoppointLocation to Stop...

Tatyana Krasnukha via All-commits all-commits at lists.llvm.org
Wed Jul 29 12:08:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: da0bba5c9abb161ff824cf450537cf2ccf50d457
      https://github.com/llvm/llvm-project/commit/da0bba5c9abb161ff824cf450537cf2ccf50d457
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M lldb/include/lldb/Breakpoint/Breakpoint.h
    M lldb/include/lldb/Breakpoint/BreakpointLocation.h
    M lldb/include/lldb/Breakpoint/BreakpointSite.h
    A lldb/include/lldb/Breakpoint/StoppointHitCounter.h
    R lldb/include/lldb/Breakpoint/StoppointLocation.h
    A lldb/include/lldb/Breakpoint/StoppointSite.h
    M lldb/include/lldb/Breakpoint/Watchpoint.h
    M lldb/include/lldb/lldb-forward.h
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/BreakpointLocation.cpp
    M lldb/source/Breakpoint/BreakpointSite.cpp
    M lldb/source/Breakpoint/CMakeLists.txt
    R lldb/source/Breakpoint/StoppointLocation.cpp
    A lldb/source/Breakpoint/StoppointSite.cpp
    M lldb/source/Breakpoint/Watchpoint.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list