diff options
| author | Teresa Johnson <tejohnson@google.com> | 2018-06-04 19:20:02 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2018-06-04 19:20:02 +0000 |
| commit | 0cff9350365f98adaa43048ac478f340febe8e3c (patch) | |
| tree | 83296f05b67c8d882a2dbabb7ec905aac7a1a12d /llvm/lib/CodeGen/SelectionDAG | |
| parent | a25809fb746ee94a730abf72b57422406e77f23b (diff) | |
| download | bcm5719-llvm-0cff9350365f98adaa43048ac478f340febe8e3c.tar.gz bcm5719-llvm-0cff9350365f98adaa43048ac478f340febe8e3c.zip | |
Fix for llvm-dis/llvm-bcanalyzer overflows
Summary:
These tools failed for a very large bitcode file produced by LTO due to
64-bit values being assigned to 32-bit types. For the BitstreamReader.h
fix, the value initially fit into the 32-bit unsigned, but there was an
overflow when multiplying by 32 furter below to compute the bit offset.
No test case in the patch as this requires a huge bitcode file.
Reviewers: pcc, george.karpenkov
Subscribers: mehdi_amini, a.sidorin, llvm-commits
Differential Revision: https://reviews.llvm.org/D47731
llvm-svn: 333942
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions

