llvm/test
David Blaikie 06c1373053 Implement DW_TAG_subrange_type with DW_AT_count rather than DW_AT_upper_bound
This allows proper disambiguation of unbounded arrays and arrays of zero
bound ("struct foo { int x[]; };" and "struct foo { int x[0]; }"). GCC
instead produces an upper bound of -1 in the latter situation, but count
seems tidier. This way lower_bound is provided if it's not the language
default and count is provided if the count is known, otherwise it's
omitted. Simple.

If someone wants to look at rdar://problem/12566646 and see if this
change is acceptable to that bug/fix, that might be helpful (see the
empty-and-one-elem-array.ll test case which cites that radar).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218726 91177308-0d34-0410-b5e6-96231b3b80d8
2014-10-01 00:56:55 +00:00
..
Analysis [BasicAA] Make better use of zext and sign information 2014-09-30 22:43:40 +00:00
Assembler
Bindings Extend C disassembler API to allow specifying target features 2014-09-30 16:31:40 +00:00
Bitcode
BugPoint
CodeGen [x86] Teach the new vector shuffle lowering about VBROADCAST and 2014-10-01 00:41:21 +00:00
DebugInfo Implement DW_TAG_subrange_type with DW_AT_count rather than DW_AT_upper_bound 2014-10-01 00:56:55 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation Introduce support for custom wrappers for vararg functions. 2014-09-30 12:33:16 +00:00
Integer
JitListener
Linker
LTO
MC WinCOFFObjectWriter: optimize the string table for common suffices 2014-09-29 22:43:20 +00:00
Object
Other
TableGen [AVX512] Added intrinsics for VPCMPEQB and VPCMPEQW. 2014-09-30 11:32:22 +00:00
tools Revert r218673 'llvm-cov: add test for report's function & file association.' 2014-09-30 14:48:12 +00:00
Transforms [InstCombine] Optimize icmp-select-icmp 2014-10-01 00:13:22 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh