aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfWriter.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
commitc66996ab3451a29a207e7871b0cbf984beaf941c (patch)
tree77199b3d18697e73309654473d68259420322255 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp
parent086c788b3987161c123c0330e39bd591d6460fc9 (diff)
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 ^ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
0 files changed, 0 insertions, 0 deletions