OSDN Git Service

Use DW_FORM_sdata for signed constant values and udata on occasion
authorEric Christopher <echristo@gmail.com>
Tue, 27 Aug 2013 23:49:04 +0000 (23:49 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 27 Aug 2013 23:49:04 +0000 (23:49 +0000)
commit7b2ee399d9c1b2112962d29540c25b94fa98e8ed
tree091e20b1a9eaba3b3e303bd61158a9328ecdfcbf
parent6e74bfc0e6b7ab56c15ca5b6444a1ff83ff60709
Use DW_FORM_sdata for signed constant values and udata on occasion
when we can. Migrate from using blocks when we're adding just a
single attribute and floating point values are an unsigned, not signed,
bag of bits.

Update all test cases accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189419 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/DebugInfo/X86/dbg-const-int.ll
test/DebugInfo/X86/debug-info-static-member.ll
test/DebugInfo/X86/multiple-at-const-val.ll
test/DebugInfo/X86/template.ll