Make a major API change to BitstreamReader: split all the reading
authorChris Lattner <sabre@nondot.org>
Sun, 26 Apr 2009 20:59:02 +0000 (20:59 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Apr 2009 20:59:02 +0000 (20:59 +0000)
commit962dde3cef3184f1683d5070c298c9a29509d62e
tree408bbdf7f92bb2a9e5490551f82d6ccdeb4ea0b3
parent3485d25a0e3355a13a9fe073fa5cd98838431ef0
Make a major API change to BitstreamReader: split all the reading
state out of the BitstreamReader class into a BitstreamCursor class.
Doing this allows the client to have multiple cursors into the same
file, each with potentially different live block stacks and
abbreviation records.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70157 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/BitstreamReader.h
include/llvm/Bitcode/Deserialize.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Reader/BitcodeReader.h
lib/Bitcode/Reader/Deserialize.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp