add a new DwarfPrinter::EmitEncodingByte method which handles
authorChris Lattner <sabre@nondot.org>
Fri, 22 Jan 2010 22:38:16 +0000 (22:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 22 Jan 2010 22:38:16 +0000 (22:38 +0000)
commitf61ed8eb32aa1cfcb440742e6fbaa7c785647131
treef5e4ae4656172be32fee46b6185545df55d5018a
parent563515620336138c108febe0f5179594b071c896
add a new DwarfPrinter::EmitEncodingByte method which handles
pretty printing encoding comments and eliminates redundancy on
the client side.  We now get pretty dwarf like this again:

        .byte   255                                         ## @LPStart Encoding = omit
        .byte   0                                           ## @TType Encoding = absptr
        .byte   0x28                                        ## @TType base offset
        .byte   3                                           ## Call site Encoding = udata4
        .byte   0x1a                                        ## Call site table size
...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94239 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.h