Fix PR 7662.
authorDevang Patel <dpatel@apple.com>
Mon, 19 Jul 2010 17:53:55 +0000 (17:53 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 19 Jul 2010 17:53:55 +0000 (17:53 +0000)
commit8b3a6b651e267e5e6e68a3bd0aabd8ee90eb1aac
tree7fb3fddb62f36496754ba1b4e2136cbb053e4506
parente1102caf86c8e09387ac7ee83aae4e69d2d35fc4
Fix PR 7662.
Do not try to insert local variable info to a DIE used for function declaration.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108731 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/2010-07-19-Crash.ll [new file with mode: 0644]