[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)
commit4eccf11373470605f6abf160d82aaa6b3a24da89
treefd87f1846fb7f9f6817dacf6c913d5c690aea8db
parent49062a51b444ecf222013eebfee29ad2a5d21609
[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.

llvm-svn: 256236
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/test/CodeGen/X86/bit-piece-comment.ll [new file with mode: 0644]