summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/TargetTransformInfo.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-10-03 10:04:38 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-10-03 10:04:38 +0000
commit2c0a7f081a8a681f29e1fc4ad115e77a9ade0f64 (patch)
treea7ed90195700d2058cd2ddeab594bd817b1b6966 /llvm/lib/Analysis/TargetTransformInfo.cpp
parentfd1b3814b321544aff5b7ab1609130b48b88bef7 (diff)
downloadbcm5719-llvm-2c0a7f081a8a681f29e1fc4ad115e77a9ade0f64.tar.gz
bcm5719-llvm-2c0a7f081a8a681f29e1fc4ad115e77a9ade0f64.zip
[ELF] - Do not crash on invalid section alignment.
Case was revealed by id_000010,sig_08,src_000000,op_havoc,rep_4 from PR30540. Out implementation uses uint32 for storing section alignment value, what seems reasonable, though if value exceeds 32 bits bounds we have truncation and final value of 0. Patch fixes the issue. Differential revision: https://reviews.llvm.org/D25082 llvm-svn: 283097
Diffstat (limited to 'llvm/lib/Analysis/TargetTransformInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud