1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/include/llvm/Bitstream
Jianzhou Zhao 0ded22b2ea Fix an overflow issue at BackpatchWord
This happens when generating a huge file by LTO, for example, with -gmlt.
When BitNo is > 2^35, ByteNo is overflowed, and an incorrect output offset is overwritten.
This generates ill-formed bitcodes.

Reviewed-by: tejohnson, vitalybuka

Differential Revision: https://reviews.llvm.org/D86645
2020-08-27 04:46:19 +00:00
..
BitCodes.h [Bitstream] Add BitCodeAbbrev(std::initializer_list) constructor 2019-09-05 21:26:53 +00:00
BitstreamReader.h Avoid including FileSystem.h from MemoryBuffer.h 2020-02-29 12:30:23 -08:00
BitstreamWriter.h Fix an overflow issue at BackpatchWord 2020-08-27 04:46:19 +00:00