summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-09 04:46:40 +0000
committerChris Lattner <sabre@nondot.org>2009-03-09 04:46:40 +0000
commit6090a42fe5d37187fd31a62712490ce467bdbc23 (patch)
treed250db705b384374454558072873127562246c7f /clang/lib/CodeGen/CodeGenModule.cpp
parent3b935fbcf229d07fc3e74774436b2c983395757a (diff)
downloadbcm5719-llvm-6090a42fe5d37187fd31a62712490ce467bdbc23.tar.gz
bcm5719-llvm-6090a42fe5d37187fd31a62712490ce467bdbc23.zip
Fix PR3746 - Crash in isel with GEP of function pointer
by checking that the top-level type of a gep is sized. This causes us to reject the example with: llvm-as: t2.ll:2:16: invalid getelementptr indices getelementptr i32()* null, i32 1 ^ llvm-svn: 66393
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud