diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-04 06:20:49 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-04 06:20:49 +0000 |
commit | a7645a3c66668da5e2bc772a8e5ab03dc301610c (patch) | |
tree | 30ef30b7396a9bd8adfcc9c0461959aac9a94302 /test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | |
parent | 319d594e22c3db55114f233ca398f9760e3f6ed9 (diff) | |
download | llvm-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/2009-02-12-DebugInfoVLA.ll')
-rw-r--r-- | test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll index 0dca14d064..57c9ea78fa 100644 --- a/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll +++ b/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll @@ -78,7 +78,7 @@ declare void @llvm.stackrestore(i8*) nounwind !9 = metadata !{i32 458767, metadata !2, metadata !"", metadata !2, i32 0, i64 64, i64 64, i64 0, i32 64, metadata !10} ; [ DW_TAG_pointer_type ] !10 = metadata !{i32 458753, metadata !2, metadata !"", metadata !2, i32 0, i64 8, i64 8, i64 0, i32 0, metadata !5, metadata !11, i32 0, null} ; [ DW_TAG_array_type ] !11 = metadata !{metadata !12} -!12 = metadata !{i32 458785, i64 0, i64 0} ; [ DW_TAG_subrange_type ] +!12 = metadata !{i32 458785, i64 0, i64 0, i64 1} ; [ DW_TAG_subrange_type ] !13 = metadata !{i32 3, i32 0, metadata !14, null} !14 = metadata !{i32 458763, metadata !1, i32 0, i32 0} ; [ DW_TAG_lexical_block ] !15 = metadata !{i32 4, i32 0, metadata !14, null} |