aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-09-15 00:44:34 +0000
committerJason Molenda <jmolenda@apple.com>2011-09-15 00:44:34 +0000
commit995cd3a51407c47c386d80ba6c62760ea878e533 (patch)
treeb70e968238170612c8969d26b9ce2ef55a5d579b /lldb/source/Commands/CommandObjectProcess.cpp
parente1dadb831a2ba3d68a576611670704c9bd1c2bc8 (diff)
downloadllvm-995cd3a51407c47c386d80ba6c62760ea878e533.zip
llvm-995cd3a51407c47c386d80ba6c62760ea878e533.tar.gz
llvm-995cd3a51407c47c386d80ba6c62760ea878e533.tar.bz2
Have the FuncUnwinder object request & provide an architecture-defined
UnwindPlan for unwinding from the first instruction of an otherwise unknown function call (GetUnwindPlanArchitectureDefaultAtFunctionEntry()). Update RegisterContextLLDB::GetFullUnwindPlanForFrame() to detect the case of a frame 0 at address 0x0 which indicates that we jumped through a NULL function pointer. Use the ABI's FunctionEntryUnwindPlan to find the caller frame. These changes make it so lldb can identify the calling frame correctly in code like int main () { void (*f)(void) = 0; f(); } llvm-svn: 139760
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions