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 | fb6e8d65547b744b1804b74b263f163e9879b901 (patch) | |
tree | e287d18b31798e37822aed3ca4891c8d89357926 /docs/SourceLevelDebugging.html | |
parent | 90464131a353812f461cb3aac4a7adce2eb7579b (diff) | |
download | external_llvm-fb6e8d65547b744b1804b74b263f163e9879b901.zip external_llvm-fb6e8d65547b744b1804b74b263f163e9879b901.tar.gz external_llvm-fb6e8d65547b744b1804b74b263f163e9879b901.tar.bz2 |
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
Diffstat (limited to 'docs/SourceLevelDebugging.html')
-rw-r--r-- | docs/SourceLevelDebugging.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/SourceLevelDebugging.html b/docs/SourceLevelDebugging.html index 79ea71a..10c78f6 100644 --- a/docs/SourceLevelDebugging.html +++ b/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> |