summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/EHPersonalities.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-05-26 02:16:00 +0000
committerTim Northover <tnorthover@apple.com>2017-05-26 02:16:00 +0000
commit0150333a3c565fec97d4d65302abbb15ed21ecc4 (patch)
tree88f48feb73042fa360b5e1c95f429cc519afbe6d /llvm/lib/Analysis/EHPersonalities.cpp
parenteb04c8cae2f0867c3959285a992f5319b8d6cfc7 (diff)
downloadbcm5719-llvm-0150333a3c565fec97d4d65302abbb15ed21ecc4.tar.gz
bcm5719-llvm-0150333a3c565fec97d4d65302abbb15ed21ecc4.zip
Create valid LValue to represent null pointers in constant exprs
We were leaving the SubobjectDesignator in a surprising situation, where it was allegedly valid but didn't actually refer to a type. This caused a crash later on. This patch fills out the SubobjectDesignator with the pointee type (as happens in other evaluations of constant pointers) so that we don't crash later. llvm-svn: 303957
Diffstat (limited to 'llvm/lib/Analysis/EHPersonalities.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud