llvm-project/llvm/tools/llvm-bcanalyzer
Peter Collingbourne cf2750a501 Bitcode: Correctly handle Fixed and VBR arrays in BitstreamCursor::skipRecord().
The assertions were wrong; we need to call getEncodingData() on the element,
not the array. While here, simplify the skipRecord() implementation for Fixed
and Char6 arrays. This is tested by the code I added to llvm-bcanalyzer
which makes sure that we can skip any record.

Differential Revision: https://reviews.llvm.org/D27241

llvm-svn: 288315
2016-12-01 05:47:58 +00:00
..
CMakeLists.txt [CMake] llvm-bcanalyzer depends on intrinsics_gen 2016-11-19 02:17:12 +00:00
LLVMBuild.txt
llvm-bcanalyzer.cpp Bitcode: Correctly handle Fixed and VBR arrays in BitstreamCursor::skipRecord(). 2016-12-01 05:47:58 +00:00