[all-commits] [llvm/llvm-project] 22f0aa: [lldb] Remove unused ThreadPlan tracer utilities (...

Dave Lee via All-commits all-commits at lists.llvm.org
Mon Feb 15 18:00:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22f0aa0d9ebddb004cbf2d0e7c8c015422351d2b
      https://github.com/llvm/llvm-project/commit/22f0aa0d9ebddb004cbf2d0e7c8c015422351d2b
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M lldb/include/lldb/Target/Thread.h
    M lldb/include/lldb/Target/ThreadPlanStack.h
    M lldb/include/lldb/Target/ThreadPlanTracer.h
    M lldb/source/Target/Thread.cpp
    M lldb/source/Target/ThreadPlan.cpp
    M lldb/source/Target/ThreadPlanStack.cpp
    M lldb/source/Target/ThreadPlanTracer.cpp

  Log Message:
  -----------
  [lldb] Remove unused ThreadPlan tracer utilities (NFC)

Delete unused `EnableTracer()` and `SetTracer()` functions on `Thread`. By deleting
these, their `ThreadPlan` counterparts also become unused.

Then, by deleting `ThreadPlanStack::EnableTracer`, `EnableSingleStep` becomes unused.
With no more callers to `EnableSingleStep`, the value `m_single_step` is always true and
can be removed as well.

Differential Revision: https://reviews.llvm.org/D96666




More information about the All-commits mailing list