summaryrefslogtreecommitdiff
path: root/test/DebugInfo/X86/template.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-27 23:49:04 +0000
committerEric Christopher <echristo@gmail.com>2013-08-27 23:49:04 +0000
commit7b2ee399d9c1b2112962d29540c25b94fa98e8ed (patch)
tree091e20b1a9eaba3b3e303bd61158a9328ecdfcbf /test/DebugInfo/X86/template.ll
parent6e74bfc0e6b7ab56c15ca5b6444a1ff83ff60709 (diff)
downloadllvm-7b2ee399d9c1b2112962d29540c25b94fa98e8ed.tar.gz
llvm-7b2ee399d9c1b2112962d29540c25b94fa98e8ed.tar.bz2
llvm-7b2ee399d9c1b2112962d29540c25b94fa98e8ed.tar.xz
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
Diffstat (limited to 'test/DebugInfo/X86/template.ll')
-rw-r--r--test/DebugInfo/X86/template.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DebugInfo/X86/template.ll b/test/DebugInfo/X86/template.ll
index 16808e1e4c..e7aff79b7c 100644
--- a/test/DebugInfo/X86/template.ll
+++ b/test/DebugInfo/X86/template.ll
@@ -27,7 +27,7 @@
; even as data1. DWARF strongly urges implementations to prefer
; _sdata/_udata rather than dataN
-; CHECK-NEXT: DW_AT_const_value [DW_FORM_data4]{{.*}}(0x00000003)
+; CHECK-NEXT: DW_AT_const_value [DW_FORM_sdata]{{.*}}(3)
; CHECK: DW_TAG_template_value_parameter
; CHECK-NEXT: DW_AT_type{{.*}}=> {[[INTPTR:0x[0-9a-f]*]]}
@@ -47,11 +47,11 @@
; CHECK-NOT: NULL
; CHECK: DW_TAG_template_value_parameter
; CHECK-NEXT: DW_AT_type{{.*}}=> {[[INT]]}
-; CHECK-NEXT: DW_AT_const_value [DW_FORM_data4]{{.*}}(0x00000001)
+; CHECK-NEXT: DW_AT_const_value [DW_FORM_sdata]{{.*}}(1)
; CHECK-NOT: NULL
; CHECK: DW_TAG_template_value_parameter
; CHECK-NEXT: DW_AT_type{{.*}}=> {[[INT]]}
-; CHECK-NEXT: DW_AT_const_value [DW_FORM_data4]{{.*}}(0x00000002)
+; CHECK-NEXT: DW_AT_const_value [DW_FORM_sdata]{{.*}}(2)
; CHECK: [[INTPTR]]:{{ *}}DW_TAG_pointer_type
; CHECK-NEXT: DW_AT_type{{.*}} => {[[INT]]}