Add special case bitcode support for DebugLoc. This avoids
authorChris Lattner <sabre@nondot.org>
Sat, 3 Apr 2010 02:17:50 +0000 (02:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Apr 2010 02:17:50 +0000 (02:17 +0000)
commita6245247e9d0c718fb14230ba6610ee939b030fa
tree942d707f959dcde1d2e7912339d846059131e8b4
parentcbf1aa9e31ed4ca15756c6b8db41c51320916dc5
Add special case bitcode support for DebugLoc.  This avoids
having the bitcode writer materialize mdnodes for all the
debug location tuples when writing out the bc file and
stores the information in a more compact form.  For example,
the -O0 -g bc file for combine.c in 176.gcc shrinks from
739392 to 512096 bytes.

This concludes my planned short-term debug info work.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100261 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Bitcode/LLVMBitCodes.h
lib/Bitcode/Reader/BitcodeReader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/Bitcode/Writer/ValueEnumerator.cpp
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp