[ASMPrinter] Fix missing handling of DW_OP_bit_piece
authorKeno Fischer <kfischer@college.harvard.edu>
Tue, 22 Dec 2015 07:14:50 +0000 (07:14 +0000)
committerKeno Fischer <kfischer@college.harvard.edu>
Tue, 22 Dec 2015 07:14:50 +0000 (07:14 +0000)
commitf580a6229fc32444134bcc8fcc2fbc4cc756034d
treeb35c1fb632b4559bb371f2f6cf50798c0ab0158e
parent7482ffbe497a4090448748ac96fd0c5b4ae958b1
[ASMPrinter] Fix missing handling of DW_OP_bit_piece

In r256077, I added printing for DIExpressions in DEBUG_VALUE comments,
but neglected to handle DW_OP_bit_piece operands. Thanks to
Mikael Holmen and Joerg Sonnenberger for spotting this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256236 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/bit-piece-comment.ll [new file with mode: 0644]