diff options
Diffstat (limited to 'source/Target/ThreadPlanStepRange.cpp')
-rw-r--r-- | source/Target/ThreadPlanStepRange.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/Target/ThreadPlanStepRange.cpp b/source/Target/ThreadPlanStepRange.cpp index 02667f8236ea..32e225c4af70 100644 --- a/source/Target/ThreadPlanStepRange.cpp +++ b/source/Target/ThreadPlanStepRange.cpp @@ -64,16 +64,6 @@ ThreadPlanStepRange::ThreadPlanStepRange (ThreadPlanKind kind, ThreadPlanStepRange::~ThreadPlanStepRange () { ClearNextBranchBreakpoint(); - - size_t num_instruction_ranges = m_instruction_ranges.size(); - - // FIXME: The DisassemblerLLVMC has a reference cycle and won't go away if it has any active instructions. - // I'll fix that but for now, just clear the list and it will go away nicely. - for (size_t i = 0; i < num_instruction_ranges; i++) - { - if (m_instruction_ranges[i]) - m_instruction_ranges[i]->GetInstructionList().Clear(); - } } void @@ -155,7 +145,7 @@ ThreadPlanStepRange::InRange () SymbolContext new_context(frame->GetSymbolContext(eSymbolContextEverything)); if (m_addr_context.line_entry.IsValid() && new_context.line_entry.IsValid()) { - if (m_addr_context.line_entry.file == new_context.line_entry.file) + if (m_addr_context.line_entry.original_file == new_context.line_entry.original_file) { if (m_addr_context.line_entry.line == new_context.line_entry.line) { |