Assorted debug info fixes.
authorDevang Patel <dpatel@apple.com>
Tue, 27 Jan 2009 00:45:04 +0000 (00:45 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 27 Jan 2009 00:45:04 +0000 (00:45 +0000)
commitad165bec1d9c685b21abbc9a7f9b217a748528dd
tree3504f4ca3cdda955d12e4af01103ba47b97506aa
parent4e1fae512514a705722bc978dfba7f6f546a8cf3
Assorted debug info fixes.
- DW_AT_bit_size is only suitable for bitfields.
- Encode source location info for derived types.
- Source location and type size info is not useful for subroutine_type (info is included in respective DISubprogram) and array_type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63077 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
test/DebugInfo/forwardDecl.ll