summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-04-28 02:17:02 +0000
committerJim Ingham <jingham@apple.com>2016-04-28 02:17:02 +0000
commitdeb384d10313dd10f02373c569b94e9d381fb508 (patch)
tree39e6b6946fa18b6f469b932d5f9a2cd7bcb2ca92 /lldb/packages/Python/lldbsuite
parentd016c3e3a0cd1a5709ea180ab11bff9937c7a81c (diff)
downloadbcm5719-llvm-deb384d10313dd10f02373c569b94e9d381fb508.tar.gz
bcm5719-llvm-deb384d10313dd10f02373c569b94e9d381fb508.zip
Fix an inefficiency in the handling of $__lldb_local_vars in expressions.
The code in ClangExpressionDeclMap::FindExternalVisibleDecls figures out what the token means, and adds the namespace to the lookup context, but since it doesn't mark it as special in the search context, we go on to pass the name $__lldb_local_vars to the ASTSource for further lookup. Unless we've done our job wrong, those lookups will always fail, but the can be costly. So I added a bit to m_found & use that to short-circuit the lookup. <rdar://problem/25613384> llvm-svn: 267842
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud