DwarfUnit: Share common constant value emission between APInts of small (<= 64 bit...
authorDavid Blaikie <dblaikie@gmail.com>
Sun, 11 May 2014 15:47:39 +0000 (15:47 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sun, 11 May 2014 15:47:39 +0000 (15:47 +0000)
commitabfe7d33c7fb0a51e21754e0b3a801aced8c1f75
tree32152645ee455b944b559c92b9ea37bea092ba25
parentd0125ee3818e2182978899d309f996a3fef493e2
DwarfUnit: Share common constant value emission between APInts of small (<= 64 bit) and MCOperand immediates.

Doesn't seem a good reason to duplicate this code (it was more literally
duplicated prior to r208494, and while the dataN code /does/ actually
fire in this case, it doesn't seem necessary (and the DWARF standard
recommends using udata/sdata pervasively instead of dataN, so as to
indicate signedness of the values))

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.h
test/DebugInfo/X86/debug-info-static-member.ll