HomePhabricator

[lldb] Add step target to ThreadPlanStepInRange constructor

Authored by kastiglione on Feb 11 2021, 12:02 PM.

Description

[lldb] Add step target to ThreadPlanStepInRange constructor

QueueThreadPlanForStepInRange accepts a step_into_target, but the constructor for
ThreadPlanStepInRange does not. Instead, a caller would optionally call
SetStepInTarget() in a separate statement.

This change adds step_into_target as a constructor argument. This simplifies
construction of ThreadPlanSP, by avoiding a subsequent downcast and conditional
assignment. This constructor is already used in downstream repos.

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

Details

Committed
kastiglioneFeb 11 2021, 2:57 PM
Differential Revision
D96539: [lldb] Add step target to ThreadPlanStepInRange constructor
Parents
rG0eed2b1a3cde: Remove test code that cause MSAN failure.
Branches
Unknown
Tags
Unknown