[Lldb-commits] [lldb] r180764 - Fixed a problem where the expression parser would
Sean Callanan
scallanan at apple.com
Mon Apr 29 17:21:42 PDT 2013
Author: spyffe
Date: Mon Apr 29 19:21:42 2013
New Revision: 180764
URL: http://llvm.org/viewvc/llvm-project?rev=180764&view=rev
Log:
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>
Modified:
lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Modified: lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp?rev=180764&r1=180763&r2=180764&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Mon Apr 29 19:21:42 2013
@@ -620,7 +620,7 @@ ClangExpressionDeclMap::GetSymbolAddress
const Address *sym_address = &sym_ctx.symbol->GetAddress();
if (!sym_address || !sym_address->IsValid())
- return LLDB_INVALID_ADDRESS;
+ continue;
if (sym_address)
{
More information about the lldb-commits
mailing list