[llvm-commits] [llvm] r129156 - in /llvm/trunk: docs/SourceLevelDebugging.html lib/CodeGen/AsmPrinter/DwarfDebug.cpp test/DebugInfo/array.ll
Devang Patel
dpatel at apple.com
Fri Apr 8 16:14:57 PDT 2011
On Apr 8, 2011, at 3:21 PM, Duncan Sands wrote:
>> 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.
>
> For that matter, wouldn't lower bound more than upper bound indicate an empty
> array, not an unbounded one (there is no problem declaring such arrays in Ada)?
you're right.
-
Devang
More information about the llvm-commits
mailing list