DISubrange supports unsigned lower/upper array bounds, so let's not fake it in the...
authorDevang Patel <dpatel@apple.com>
Thu, 17 Nov 2011 23:43:15 +0000 (23:43 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 17 Nov 2011 23:43:15 +0000 (23:43 +0000)
commitce35d8b5a1071bb8ccf70bf8be3952dd0c4f2f15
treee062a669d8c630c6a5fb5a1ac92a72e4668986eb
parent2e7fb2f73641f1f1ca385fe7777075945bf4ca24
DISubrange supports unsigned lower/upper array bounds, so let's not fake it in the end while emitting DWARF. If a FE needs to encode signed lower/upper array bounds then we need to extend DISubrange or ad DISignedSubrange.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144937 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/DebugInfo.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
test/CodeGen/X86/dbg-subrange.ll [new file with mode: 0644]