diff options
author | Sean Callanan <scallanan@apple.com> | 2010-11-06 00:09:34 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-11-06 00:09:34 +0000 |
commit | c70f8ff4175ad7f57193bb174a79f9ee34cfe7fb (patch) | |
tree | c2a981e49f3e1d44276bbbdc719f7935f0782d26 /lldb/source | |
parent | f7f9d9d88045f8d680cc8062535d94c124edbb98 (diff) | |
download | bcm5719-llvm-c70f8ff4175ad7f57193bb174a79f9ee34cfe7fb.tar.gz bcm5719-llvm-c70f8ff4175ad7f57193bb174a79f9ee34cfe7fb.zip |
Fixed a bug where variables in the source operands
of store statements were not being marked for
resolution.
llvm-svn: 118316
Diffstat (limited to 'lldb/source')
-rw-r--r-- | lldb/source/Expression/IRForTarget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRForTarget.cpp b/lldb/source/Expression/IRForTarget.cpp index d6d0586b3f2..0acbee88992 100644 --- a/lldb/source/Expression/IRForTarget.cpp +++ b/lldb/source/Expression/IRForTarget.cpp @@ -794,7 +794,8 @@ IRForTarget::resolveExternals(Module &M, BasicBlock &BB) 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; } |