summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Bitcode/BitstreamReaderTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Bitcode] AtEndOfStream should only check against the size if it's known.Jordan Rose2014-11-131-0/+56
This avoids an issue where AtEndOfStream mistakenly returns true at the /start/ of a stream. (In the rare case that the size is known and actually 0, the slow path will still handle it correctly.) llvm-svn: 221840
OpenPOWER on IntegriCloud