summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a name for the anonymous type we're creating for subrangeEric Christopher2013-01-041-18/+18
| | | | | | | | types and a FIXME for what we should be doing. Should solve the immediacy of PR12069 where our debug info is crashing another tool. llvm-svn: 171536
* Use the 'count' attribute to calculate the upper bound of an array.Bill Wendling2012-12-041-2/+3
| | | | | | | | | The count attribute is more accurate with regards to the size of an array. It also obviates the upper bound attribute in the subrange. We can also better handle an unbound array by setting the count to -1 instead of the lower bound to 1 and upper bound to 0. llvm-svn: 169312
* Add a 'count' field to the DWARF subrange.Bill Wendling2012-12-041-0/+92
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
OpenPOWER on IntegriCloud