[Lldb-commits] [lldb] r144744 - /lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp

Sean Callanan scallanan at apple.com
Tue Nov 15 16:40:13 PST 2011


Author: spyffe
Date: Tue Nov 15 18:40:13 2011
New Revision: 144744

URL: http://llvm.org/viewvc/llvm-project?rev=144744&view=rev
Log:
Fixed a crash when we merrily went on to try to log
information about a nonexistent function declaration.

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=144744&r1=144743&r2=144744&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Tue Nov 15 18:40:13 2011
@@ -2988,6 +2988,8 @@
                              fun_type->GetName().GetCString(), 
                              fun_type->GetID());
             }
+            
+            return;
         }
     }
     else if (symbol)





More information about the lldb-commits mailing list