diff options
| author | Frits van Bommel <fvbommel@gmail.com> | 2010-12-05 20:50:26 +0000 |
|---|---|---|
| committer | Frits van Bommel <fvbommel@gmail.com> | 2010-12-05 20:50:26 +0000 |
| commit | 16ebe77be097ae49111c80c7a2c4290025a80d94 (patch) | |
| tree | 87aa30e7d462e68ff2516ebf51acf627459c7577 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | c5f57830443d93ad7b041dce8b802fc864b47849 (diff) | |
| download | bcm5719-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

