commit | 003ec237adbabe93d5f87d8c23b4d148b4767617 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Tue Dec 04 06:21:27 2012 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Tue Dec 04 06:21:27 2012 +0000 |
tree | 7cf73896ded2295e6b631c93d908ed0e6f294e79 | |
parent | 5c5eaa83b3c1a6f393105a1f394e7ea422bfc839 [diff] |
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/cfe/trunk@169219 91177308-0d34-0410-b5e6-96231b3b80d8