diff options
author | Anna Zaks <ganna@apple.com> | 2013-06-06 00:19:36 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-06-06 00:19:36 +0000 |
commit | 148974d678cbf5e1d5d66c35a175d14e65c713c1 (patch) | |
tree | f299c8b6fc465af60f3d746a5fb885b128ef4136 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 7a8bd94365ac0a3ea31a6d3f3c726f360fb08766 (diff) | |
download | bcm5719-llvm-148974d678cbf5e1d5d66c35a175d14e65c713c1.tar.gz bcm5719-llvm-148974d678cbf5e1d5d66c35a175d14e65c713c1.zip |
[analyzer] Fix a crash that occurs when processing an rvalue array.
When processing ArrayToPointerDecay, we expect the array to be a location, not a LazyCompoundVal.
Special case the rvalue arrays by using a location to represent them. This case is handled similarly
elsewhere in the code.
Fixes PR16206.
llvm-svn: 183359
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
0 files changed, 0 insertions, 0 deletions