commit | fb6e8d65547b744b1804b74b263f163e9879b901 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Apr 08 21:55:10 2011 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Apr 08 21:55:10 2011 +0000 |
tree | e287d18b31798e37822aed3ca4891c8d89357926 | |
parent | 90464131a353812f461cb3aac4a7adce2eb7579b [diff] |
Do not emit DW_AT_upper_bound and DW_AT_lower_bound for unbouded array. If lower bound is more then upper bound then consider it is an unbounded array. An array is unbounded if non-zero lower bound is same as upper bound. If lower bound and upper bound are zero than array has one element. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129156 91177308-0d34-0410-b5e6-96231b3b80d8