Added a new API to SBFrame:
authorGreg Clayton <gclayton@apple.com>
Thu, 28 May 2015 03:27:22 +0000 (03:27 +0000)
committerGreg Clayton <gclayton@apple.com>
Thu, 28 May 2015 03:27:22 +0000 (03:27 +0000)
commit424a5dbc73ad8dc932a2544864535e9d0117d05d
tree2b18ba4ac239472cdc7c3f30b9111b77bf19db0b
parent08765fac3f4523883ce44ac938fa0523cfb8bbd6
Added a new API to SBFrame:

lldb::addr_t SBFrame::GetCFA();

This gets the CFA (call frame address) of the frame so it allows us to take an address that is on the stack and figure out which thread it comes from.

Also modified the heap.py module to be able to find out which variable in a frame's stack frame contains an address. This way when ptr_refs finds a match on the stack, it get then report which variable contains the pointer.

llvm-svn: 238393
lldb/examples/darwin/heap_find/heap.py
lldb/include/lldb/API/SBFrame.h
lldb/lldb.xcodeproj/project.pbxproj
lldb/scripts/interface/SBFrame.i
lldb/source/API/SBFrame.cpp