[llvm-commits] [llvm] r70165 - in /llvm/trunk: docs/BitCodeFormat.html include/llvm/Bitcode/BitCodes.h include/llvm/Bitcode/BitstreamReader.h tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

Chris Lattner clattner at apple.com
Mon Apr 27 17:54:16 PDT 2009


On Apr 27, 2009, at 1:52 AM, Duncan Sands wrote:

>> Add two new record types to the blockinfo block:
>> BLOCKNAME and SETRECORDNAME.  This allows a bitcode
>> file to be self describing with pretty names for
>> records and blocks in addition to numbers.  This
>> enhances llvm-bcanalyzer to use this to print prettily.
>
> Testcase?

Clang uses this.  LLVM IR doesn't need this because llvm-bcanalyzer is  
hard coded to know about all of its records etc.

-Chris



More information about the llvm-commits mailing list