Reapply r201180 with an additional error path.
authorAdrian Prantl <aprantl@apple.com>
Tue, 11 Feb 2014 22:22:15 +0000 (22:22 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 11 Feb 2014 22:22:15 +0000 (22:22 +0000)
commite48e9419eaa7f3cf18924ecf99da9fd84f7b94d8
tree044f5be455d5794416d467aee54e388d8b95df77
parent20d5e1b247c63b8d6c7d74460875382c002994e7
Reapply r201180 with an additional error path.
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@201190 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]