[Lldb-commits] [lldb] r118316 - /lldb/trunk/source/Expression/IRForTarget.cpp
Sean Callanan
scallanan at apple.com
Fri Nov 5 17:09:34 PDT 2010
Author: spyffe
Date: Fri Nov 5 19:09:34 2010
New Revision: 118316
URL: http://llvm.org/viewvc/llvm-project?rev=118316&view=rev
Log:
Fixed a bug where variables in the source operands
of store statements were not being marked for
resolution.
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=118316&r1=118315&r2=118316&view=diff
==============================================================================
--- lldb/trunk/source/Expression/IRForTarget.cpp (original)
+++ lldb/trunk/source/Expression/IRForTarget.cpp Fri Nov 5 19:09:34 2010
@@ -794,7 +794,8 @@
return false;
if (StoreInst *store = dyn_cast<StoreInst>(&inst))
- if (!MaybeHandleVariable(M, store->getPointerOperand(), true))
+ if (!MaybeHandleVariable(M, store->getValueOperand(), true) ||
+ !MaybeHandleVariable(M, store->getPointerOperand(), true))
return false;
}
More information about the lldb-commits
mailing list