diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-27 20:04:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-27 20:04:08 +0000 |
commit | fe9f9c1ae3a9dd8a0ea4ce35944d7779aaac58d2 (patch) | |
tree | 5e572985e4d71ffe3215310fc5dcee3261b0d857 /tools | |
parent | f352b9b4eccb35e0bef0539a1dcb3b0aa544eb3b (diff) | |
download | external_llvm-fe9f9c1ae3a9dd8a0ea4ce35944d7779aaac58d2.zip external_llvm-fe9f9c1ae3a9dd8a0ea4ce35944d7779aaac58d2.tar.gz external_llvm-fe9f9c1ae3a9dd8a0ea4ce35944d7779aaac58d2.tar.bz2 |
give bitstreamreader an API to ignore names for blocks/records,
only llvm-bcanalyzer wants this info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index 9c5a3ae..e5955c7 100644 --- a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -464,6 +464,7 @@ static int AnalyzeBitcode() { BitstreamReader StreamFile(BufPtr, EndBufPtr); BitstreamCursor Stream(StreamFile); + StreamFile.CollectBlockInfoNames(); // Read the stream signature. char Signature[6]; |