Make sure to remove all dead type names from the symbol table, not just
authorChris Lattner <sabre@nondot.org>
Tue, 8 Mar 2005 16:19:59 +0000 (16:19 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Mar 2005 16:19:59 +0000 (16:19 +0000)
commitdbf69f1992a3ee2b66071fcc314d39092f378c18
tree290f187177902d17555777cbe50ed4baaf39278f
parent13a04bcd0737685fcf6d96979c2a81e25fc0ca0b
Make sure to remove all dead type names from the symbol table, not just
struct types.  This fixes Regression/CodeGen/CBackend/2005-03-08-RecursiveTypeCrash.ll,
a crash on Java output that Alkis reported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20519 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp