summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-06-09 23:56:12 +0000
committerGreg Clayton <gclayton@apple.com>2016-06-09 23:56:12 +0000
commit4e26dd34a0081218acc3f825aabbfc90db67133f (patch)
tree5afde1a59b6f1886b5fa0be5c9e3de6bfae1f3cd /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace
parent3a1398b5f0fddf87257d3b7e918f61a229c27880 (diff)
downloadbcm5719-llvm-4e26dd34a0081218acc3f825aabbfc90db67133f.tar.gz
bcm5719-llvm-4e26dd34a0081218acc3f825aabbfc90db67133f.zip
Fix "frame variable" to show all variables defined in functions and any contained lexical blocks, even if they are static variables.
For code like: int g_global = 234; int g_static = 345; int main(int argc, char **argv) { int a = 22333; static int g_int = 123; return g_global + g_static + g_int + a; } If we stop at the "return" statement, we expect to see "argc", "argv", "a" and "g_int" when we type "frame variable" since "g_int" is a locally defined static variable, but we don't expect to see "g_global" or "g_static" unless we add the -g option to "frame variable". llvm-svn: 272348
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud