| commit | bfc0e5725f94a52e92d8f53ab5285a8a0eb1a314 | [log] [tgz] |
|---|---|---|
| author | Bill Wendling <isanbard@gmail.com> | Tue Dec 04 06:20:49 2012 +0000 |
| committer | Bill Wendling <isanbard@gmail.com> | Tue Dec 04 06:20:49 2012 +0000 |
| tree | 90d7edc33226261d8deab66915dd823edff6747b | |
| parent | 628c2dba60ea6978ba9aa9292c8a7e2064cbd0ef [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. llvm-svn: 169218