From fb6e8d65547b744b1804b74b263f163e9879b901 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 8 Apr 2011 21:55:10 +0000 Subject: 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 --- docs/SourceLevelDebugging.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/SourceLevelDebugging.html') diff --git a/docs/SourceLevelDebugging.html b/docs/SourceLevelDebugging.html index 79ea71ac30..10c78f6888 100644 --- a/docs/SourceLevelDebugging.html +++ b/docs/SourceLevelDebugging.html @@ -708,7 +708,7 @@ DW_TAG_inheritance = 28 composite type. 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.

+ > high the array will be unbounded.

-- cgit v1.2.3-70-g09d2