summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2010-12-05 20:50:26 +0000
committerFrits van Bommel <fvbommel@gmail.com>2010-12-05 20:50:26 +0000
commit16ebe77be097ae49111c80c7a2c4290025a80d94 (patch)
tree87aa30e7d462e68ff2516ebf51acf627459c7577 /clang/lib/CodeGen/CodeGenModule.cpp
parentc5f57830443d93ad7b041dce8b802fc864b47849 (diff)
downloadbcm5719-llvm-16ebe77be097ae49111c80c7a2c4290025a80d94.tar.gz
bcm5719-llvm-16ebe77be097ae49111c80c7a2c4290025a80d94.zip
Fix PR 4170 by having ExtractValueInst::getIndexedType() reject out-of-bounds indexing.
Also add asserts that the indices are valid in InsertValueInst::init(). ExtractValueInst already asserts when constructed with invalid indices. llvm-svn: 120956
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud