summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2010-07-06-DbgCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-04 06:20:49 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-04 06:20:49 +0000
commita7645a3c66668da5e2bc772a8e5ab03dc301610c (patch)
tree30ef30b7396a9bd8adfcc9c0461959aac9a94302 /test/CodeGen/X86/2010-07-06-DbgCrash.ll
parent319d594e22c3db55114f233ca398f9760e3f6ed9 (diff)
downloadllvm-a7645a3c66668da5e2bc772a8e5ab03dc301610c.tar.gz
llvm-a7645a3c66668da5e2bc772a8e5ab03dc301610c.tar.bz2
llvm-a7645a3c66668da5e2bc772a8e5ab03dc301610c.tar.xz
Add a 'count' field to the DWARF subrange.
The count field is necessary because there isn't a difference between the 'lo' and 'hi' attributes for a one-element array and a zero-element array. When the count is '0', we know that this is a zero-element array. When it's >=1, then it's a normal constant sized array. When it's -1, then the array is unbounded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2010-07-06-DbgCrash.ll')
-rw-r--r--test/CodeGen/X86/2010-07-06-DbgCrash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2010-07-06-DbgCrash.ll b/test/CodeGen/X86/2010-07-06-DbgCrash.ll
index edd6015b0d..7b18cc7a7c 100644
--- a/test/CodeGen/X86/2010-07-06-DbgCrash.ll
+++ b/test/CodeGen/X86/2010-07-06-DbgCrash.ll
@@ -16,7 +16,7 @@
!103 = metadata !{i32 524299, metadata !97, i32 73, i32 0} ; [ DW_TAG_lexical_block ]
!104 = metadata !{i32 524289, metadata !38, metadata !"", metadata !38, i32 0, i64 85312, i64 64, i64 0, i32 0, metadata !46, metadata !105, i32 0, null} ; [ DW_TAG_array_type ]
!105 = metadata !{metadata !106}
-!106 = metadata !{i32 524321, i64 0, i64 1332} ; [ DW_TAG_subrange_type ]
+!106 = metadata !{i32 524321, i64 0, i64 1332, i64 1333} ; [ DW_TAG_subrange_type ]
!107 = metadata !{i32 73, i32 0, metadata !103, null}
define i32 @main() nounwind ssp {