summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/RecordStreamer.cpp
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-02-16 14:49:01 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2018-02-16 14:49:01 +0000
commit6cf41b028d5deaee192d8e9195af2b9a80dea3ed (patch)
treed7965ffd04a4c18138be76c9b5fd0ce2d004eaf7 /llvm/lib/Object/RecordStreamer.cpp
parente44533b7f1014e17a87ae2e5e75fae8a2e0228fd (diff)
downloadbcm5719-llvm-6cf41b028d5deaee192d8e9195af2b9a80dea3ed.tar.gz
bcm5719-llvm-6cf41b028d5deaee192d8e9195af2b9a80dea3ed.zip
[PowerPC] Fix transform in table gen file causing UB
Running a bootstrap build with UBSan produces a number of instances where we have signed integer overflow due to this transform. Change the type to long to prevent this UB on 64-bit build machines. llvm-svn: 325347
Diffstat (limited to 'llvm/lib/Object/RecordStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud