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.
Details
Details
- Reviewers
tejohnson vitalybuka - Commits
- rGdf182eb2d5fc: Fix an overflow issue at BackpatchWord
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo