diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-08-27 23:49:04 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-08-27 23:49:04 +0000 |
| commit | 9d1daa87e71c57a1730b9e554275a11e750632a4 (patch) | |
| tree | 5d9b3d85e0634f817ade1c30efd6fbf8443ea7d5 /llvm/test/DebugInfo/X86/template.ll | |
| parent | 63eaed0341029825e2a4c90bde969a163961412e (diff) | |
| download | bcm5719-llvm-9d1daa87e71c57a1730b9e554275a11e750632a4.tar.gz bcm5719-llvm-9d1daa87e71c57a1730b9e554275a11e750632a4.zip | |
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.
llvm-svn: 189419
Diffstat (limited to 'llvm/test/DebugInfo/X86/template.ll')
| -rw-r--r-- | llvm/test/DebugInfo/X86/template.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/DebugInfo/X86/template.ll b/llvm/test/DebugInfo/X86/template.ll index 16808e1e4c0..e7aff79b7c6 100644 --- a/llvm/test/DebugInfo/X86/template.ll +++ b/llvm/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]]} |

