Debug info: Emit values in subregisters that do not have a separate
authorAdrian Prantl <aprantl@apple.com>
Tue, 11 Feb 2014 21:22:59 +0000 (21:22 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 11 Feb 2014 21:22:59 +0000 (21:22 +0000)
commitf4f80ebbc7457506ba91fcd819fe1c370e7981cd
treea187d32fe70de8244d0d62f751c1e7beeb34232a
parentd5468bf381a8e2c18c50f7e8e7804ad3e04ce66c
Debug info: Emit values in subregisters that do not have a separate
DWARF register number by emitting a super-register + DW_OP_bit_piece.
This is necessary because on x86_64, there are no DWARF register numbers
for i386-style subregisters.
Fixes a bunch of FIXMEs.

rdar://problem/16015314

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201180 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
test/DebugInfo/X86/subreg.ll
test/DebugInfo/X86/subregisters.ll [new file with mode: 0644]