From e39647951bee4e9d21643e60b007979fe9d2d170 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. llvm-svn: 129156 --- llvm/docs/SourceLevelDebugging.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/docs/SourceLevelDebugging.html') 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 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