Some incorrect debug information caused LLDB
authorSean Callanan <scallanan@apple.com>
Fri, 14 Dec 2012 00:54:13 +0000 (00:54 +0000)
committerSean Callanan <scallanan@apple.com>
Fri, 14 Dec 2012 00:54:13 +0000 (00:54 +0000)
commitfa3ab4599d717feedbb83e08e7f654913942520b
tree8e0f88b76a2fd904faa4ac58492e53a73c772cea
parentdc3f4f90d1c1b291c2a7797e53a4e7097b0b443d
Some incorrect debug information caused LLDB
to report a structure with an array of size 1
at the end without accounting for that array
when reporting the struct's total size to Clang.

LLDB now coerces such an array to size 0.

<rdar://problem/12822204>

llvm-svn: 170168
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp