Don't crash generating debug info for VLA in function prototype.
authorEli Friedman <efriedma@codeaurora.org>
Wed, 19 Oct 2016 22:16:32 +0000 (22:16 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Wed, 19 Oct 2016 22:16:32 +0000 (22:16 +0000)
commit01d6b963d2903977fea1950cf6b083d44be0745a
tree0bfe66badda61e4345901725d6979775f5aa5761
parent802e4a58a619c2777722cedf07fa2962cc90a67b
Don't crash generating debug info for VLA in function prototype.

Fixes regression from r279445.

Differential Revision: https://reviews.llvm.org/D25793

llvm-svn: 284652
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGenCXX/debug-info-vla.cpp