Fix StackFrame::GetVariables(...) function that was broken by 261858 when lambda...
authorGreg Clayton <gclayton@apple.com>
Mon, 25 Apr 2016 21:54:10 +0000 (21:54 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 25 Apr 2016 21:54:10 +0000 (21:54 +0000)
commita32532bfa5015a4de6586793fd8ffd667e779a4f
tree66466361574bf5128449fdbd53b7746d6cb55558
parentf2bee298a069a63bc9daabc88e16030888d0e558
Fix StackFrame::GetVariables(...) function that was broken by 261858 when lambda functions were added to Block::AppendBlockVariables(). The Stackframe::GetVariables(...) function should get all variables regardless if they are in scope.

This wasn't caught by the test suite so I added a test for it.

llvm-svn: 267478
lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/Makefile [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/TestGetVariables.py [new file with mode: 0644]
lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables/main.c [new file with mode: 0644]
lldb/source/Target/StackFrame.cpp