llvm-project/lldb/source/Target
Sam McCall 592fa122c2 Fix step-over when SymbolContext.function is missing and symbol is present.
Summary:
Fix step-over when SymbolContext.function is missing and symbol is present.

With targets from our build configuration,
ThreadPlanStepOverRange::IsEquivalentContext fails to fire for relevant frames,
leading to ShouldStop() returning true prematurely.

The frame's SymbolContext, and m_addr_context have:
  - comp_unit set and matching
  - function = nullptr
  - symbol set and matching (but this is never checked)
My naive guess is that the context should be equivalent in this case :-)

Reviewers: jingham

Subscribers: lldb-commits

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

llvm-svn: 287274
2016-11-17 22:29:31 +00:00
..
ABI.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Add StructuredData plugin type; showcase with new DarwinLog feature 2016-08-19 04:21:48 +00:00
CPPLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ExecutionContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
FileAction.cpp Change FileAction::GetPath() to return a StringRef. 2016-09-23 22:11:51 +00:00
InstrumentationRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
InstrumentationRuntimeStopInfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoader.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
JITLoaderList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Language.cpp Implement a general type scavenger that can dig types from debug info + a filtering mechanism to accept/reject results thusly obtained 2016-11-01 18:50:49 +00:00
LanguageRuntime.cpp Convert CommandObject constructors to StringRef. 2016-10-05 21:14:38 +00:00
Memory.cpp Make lldb -Werror clean on Windows. 2016-10-05 17:07:34 +00:00
MemoryHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ObjCLanguageRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
OperatingSystem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
PathMappingList.cpp Change Module::RemapPath to use StringRef. 2016-09-23 18:42:38 +00:00
Platform.cpp Convert Platform, Process, and Connection functions to StringRef. 2016-11-17 21:15:14 +00:00
Process.cpp Convert Platform, Process, and Connection functions to StringRef. 2016-11-17 21:15:14 +00:00
ProcessInfo.cpp Rewrite all Property related functions in terms of StringRef. 2016-11-17 18:08:12 +00:00
ProcessLaunchInfo.cpp Make Options::SetOptionValue take a StringRef. 2016-11-12 16:56:47 +00:00
Queue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueItem.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
QueueList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
RegisterContext.cpp Make GetRegisterByName() take a StringRef. 2016-11-17 21:54:37 +00:00
SectionLoadHistory.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SectionLoadList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StackFrame.cpp Fix warnings and errors introduced with UUID changes. 2016-11-17 05:14:32 +00:00
StackFrameList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StackID.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
StopInfo.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
StructuredDataPlugin.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SystemRuntime.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Target.cpp Convert Platform, Process, and Connection functions to StringRef. 2016-11-17 21:15:14 +00:00
TargetList.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
Thread.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadCollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadList.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlan.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanBase.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallFunction.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadPlanCallFunctionUsingABI.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallOnFunctionExit.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanCallUserExpression.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
ThreadPlanPython.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanRunToAddress.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanShouldStopHere.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepInRange.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
ThreadPlanStepInstruction.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOut.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOverBreakpoint.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepOverRange.cpp Fix step-over when SymbolContext.function is missing and symbol is present. 2016-11-17 22:29:31 +00:00
ThreadPlanStepRange.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepThrough.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanStepUntil.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadPlanTracer.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ThreadSpec.cpp Serilize the thread options within the breakpoint options. 2016-09-22 22:00:59 +00:00
UnixSignals.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UnwindAssembly.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00