summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2013-04-30 00:21:42 +0000
committerSean Callanan <scallanan@apple.com>2013-04-30 00:21:42 +0000
commit116ace2125e52b2e1625526a0df28340578fe982 (patch)
tree2e69b9883d37ecff9c4c7e70c1c327877f98c6b9
parent1c276162268bcdfc00fc3646648b2522b714826f (diff)
downloadbcm5719-llvm-116ace2125e52b2e1625526a0df28340578fe982.tar.gz
bcm5719-llvm-116ace2125e52b2e1625526a0df28340578fe982.zip
Fixed a problem where the expression parser would
give up if it couldn't find the address for the first symbol it found with a particular name and type. <rdar://problem/13748253> llvm-svn: 180764
-rw-r--r--lldb/source/Expression/ClangExpressionDeclMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp
index cfc641aed39..1b2cf8f9f00 100644
--- a/lldb/source/Expression/ClangExpressionDeclMap.cpp
+++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp
@@ -620,7 +620,7 @@ ClangExpressionDeclMap::GetSymbolAddress (Target &target, Process *process, cons
const Address *sym_address = &sym_ctx.symbol->GetAddress();
if (!sym_address || !sym_address->IsValid())
- return LLDB_INVALID_ADDRESS;
+ continue;
if (sym_address)
{
OpenPOWER on IntegriCloud