1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/unittests/Bitcode
Duncan P. N. Exon Smith 120abb2da9 Explicitly test BitstreamReader::setArtificialByteLimit, NFC
Explicitly check that artificial byte limit is rounded correctly by
exposing BitstreamReader::Size through a new accessor, getSizeIfKnown.

The original code for rounding (from r264547) wasn't obviously correct,
and even though r264623 cleaned it up (by calling llvm::alignTo) I think
it's worth testing.

llvm-svn: 264650
2016-03-28 20:39:41 +00:00
..
BitReaderTest.cpp Drop support for dematerializing. 2015-12-18 19:57:26 +00:00
BitstreamReaderTest.cpp Explicitly test BitstreamReader::setArtificialByteLimit, NFC 2016-03-28 20:39:41 +00:00
BitstreamWriterTest.cpp BitcodeWriter: Simplify and test writing blobs, NFC 2016-03-27 23:04:04 +00:00
CMakeLists.txt BitcodeWriter: Simplify and test writing blobs, NFC 2016-03-27 23:04:04 +00:00