[Lldb-commits] [lldb] r192484 - Fixed bad return code, which would cause invalid expressions to silently fail.

Richard Mitton richard at codersnotes.com
Fri Oct 11 12:16:29 PDT 2013


Author: rmitton
Date: Fri Oct 11 14:16:28 2013
New Revision: 192484

URL: http://llvm.org/viewvc/llvm-project?rev=192484&view=rev
Log:
Fixed bad return code, which would cause invalid expressions to silently fail.

Modified:
    lldb/trunk/source/Expression/IRForTarget.cpp

Modified: lldb/trunk/source/Expression/IRForTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/IRForTarget.cpp?rev=192484&r1=192483&r2=192484&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Fri Oct 11 14:16:28 2013
@@ -467,7 +467,7 @@ IRForTarget::CreateResultVariable (llvm:
         if (log)
             log->PutCString("Couldn't find result variable");
         
-        return true;
+        return false;
     }
     
     if (log)





More information about the lldb-commits mailing list