mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
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
This commit is contained in:
@@ -708,7 +708,7 @@ DW_TAG_inheritance = 28
|
||||
<a href="#format_composite_type">composite type</a>. The low value defines
|
||||
the lower bounds typically zero for C/C++. The high value is the upper
|
||||
bounds. Values are 64 bit. High - low + 1 is the size of the array. If low
|
||||
== high the array will be unbounded.</p>
|
||||
> high the array will be unbounded.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user