[all-commits] [llvm/llvm-project] e4598d: Make ThreadPlans use TID and Process, rather than ...

jimingham via All-commits all-commits at lists.llvm.org
Fri Apr 3 15:02:21 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e4598dc04a1f582e18b6721ae8ad15cad3ddd48b
      https://github.com/llvm/llvm-project/commit/e4598dc04a1f582e18b6721ae8ad15cad3ddd48b
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M lldb/include/lldb/Target/ThreadPlan.h
    M lldb/include/lldb/Target/ThreadPlanPython.h
    M lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleThreadPlanStepThroughObjCTrampoline.cpp
    M lldb/source/Target/ThreadPlan.cpp
    M lldb/source/Target/ThreadPlanBase.cpp
    M lldb/source/Target/ThreadPlanCallFunction.cpp
    M lldb/source/Target/ThreadPlanCallFunctionUsingABI.cpp
    M lldb/source/Target/ThreadPlanCallUserExpression.cpp
    M lldb/source/Target/ThreadPlanPython.cpp
    M lldb/source/Target/ThreadPlanRunToAddress.cpp
    M lldb/source/Target/ThreadPlanStepInRange.cpp
    M lldb/source/Target/ThreadPlanStepInstruction.cpp
    M lldb/source/Target/ThreadPlanStepOut.cpp
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp
    M lldb/source/Target/ThreadPlanStepOverRange.cpp
    M lldb/source/Target/ThreadPlanStepRange.cpp
    M lldb/source/Target/ThreadPlanStepThrough.cpp
    M lldb/source/Target/ThreadPlanStepUntil.cpp

  Log Message:
  -----------
  Make ThreadPlans use TID and Process, rather than Thread *.

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


  Commit: 2c1c57a1df8187870df114af666bacbd413699f7
      https://github.com/llvm/llvm-project/commit/2c1c57a1df8187870df114af666bacbd413699f7
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

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

  Log Message:
  -----------
  Make ThreadPlanTracers use TID & Process rather than Thread *.

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


  Commit: 61e8e6882de7c89933d3cc4c4d44719679e4b4f0
      https://github.com/llvm/llvm-project/commit/61e8e6882de7c89933d3cc4c4d44719679e4b4f0
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/include/lldb/Target/ThreadPlan.h
    A lldb/include/lldb/Target/ThreadPlanStack.h
    M lldb/source/Target/CMakeLists.txt
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/source/Target/ThreadList.cpp
    M lldb/source/Target/ThreadPlan.cpp
    A lldb/source/Target/ThreadPlanStack.cpp

  Log Message:
  -----------
  Move thread plan stacks into the Process, indexed by TID.

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


  Commit: 1893065d7bf5c41fbd0dbbee0a39933d3a99806b
      https://github.com/llvm/llvm-project/commit/1893065d7bf5c41fbd0dbbee0a39933d3a99806b
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-04-03 (Fri, 03 Apr 2020)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/Target/Thread.h
    M lldb/include/lldb/Target/ThreadPlan.h
    M lldb/include/lldb/Target/ThreadPlanStack.h
    M lldb/source/Commands/CommandObjectThread.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/Target.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/source/Target/Thread.cpp
    M lldb/source/Target/ThreadList.cpp
    M lldb/source/Target/ThreadPlan.cpp
    M lldb/source/Target/ThreadPlanStack.cpp
    M lldb/source/Target/ThreadPlanStepOut.cpp
    A lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/Makefile
    A lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/TestOSPluginStepping.py
    A lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/main.cpp
    A lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/operating_system.py
    A lldb/test/API/functionalities/thread_plan/Makefile
    A lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
    A lldb/test/API/functionalities/thread_plan/main.c

  Log Message:
  -----------
  Allow the ThreadPlanStackMap to hold the thread plans for threads
that were not reported by the OS plugin.  To facilitate this, move
adding/updating the ThreadPlans for a Thread to the ThreadPlanStackMap.
Also move dumping thread plans there as well.

Added some tests for "thread plan list" and "thread plan discard" since
I didn't seem to have written any originally.

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


Compare: https://github.com/llvm/llvm-project/compare/ceb58ad61d26...1893065d7bf5


More information about the All-commits mailing list