diff options
author | Devang Patel <dpatel@apple.com> | 2011-04-08 21:55:10 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2011-04-08 21:55:10 +0000 |
commit | e39647951bee4e9d21643e60b007979fe9d2d170 (patch) | |
tree | 443ca94ccb21046ba19e8af4c47a4e57066fc899 /llvm/docs/SourceLevelDebugging.html | |
parent | c5d44ae3f49db055ca33a9d99bbed2f0326f1642 (diff) | |
download | bcm5719-llvm-e39647951bee4e9d21643e60b007979fe9d2d170.tar.gz bcm5719-llvm-e39647951bee4e9d21643e60b007979fe9d2d170.zip |
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.
llvm-svn: 129156
Diffstat (limited to 'llvm/docs/SourceLevelDebugging.html')
-rw-r--r-- | llvm/docs/SourceLevelDebugging.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/SourceLevelDebugging.html b/llvm/docs/SourceLevelDebugging.html index 79ea71ac302..10c78f68888 100644 --- a/llvm/docs/SourceLevelDebugging.html +++ b/llvm/docs/SourceLevelDebugging.html @@ -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> |