[PATCH] D26100: Bitcode: Maintain block info block abbreviations in the BitstreamCursor.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 15:27:01 PDT 2016


pcc created this revision.
pcc added a reviewer: mehdi_amini.
pcc added a subscriber: llvm-commits.

This will be necessary in order to correctly interpret bitcode inputs
containing multiple block info blocks.

At this point BitstreamReader is not much more than a container for a
MemoryObject; once MemoryObject is removed [0] I would also like to remove
BitstreamReader and change BitstreamCursor to hold a memory buffer directly.

[0] http://lists.llvm.org/pipermail/llvm-dev/2016-October/106595.html


https://reviews.llvm.org/D26100

Files:
  llvm/include/llvm/Bitcode/BitstreamReader.h
  llvm/lib/Bitcode/Reader/BitstreamReader.cpp
  llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26100.76260.patch
Type: text/x-patch
Size: 13648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161028/16f7927f/attachment.bin>


More information about the llvm-commits mailing list