Fix the build when DEBUG_SYMBOL_TABLE is set.
authorDan Gohman <gohman@apple.com>
Sat, 12 Sep 2009 21:56:48 +0000 (21:56 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 12 Sep 2009 21:56:48 +0000 (21:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81633 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/TypeSymbolTable.cpp

index eba2e00c2ae418cb3c460ae9aaa552957a27a3fe..f31ea6693e0b8196e66cdbd6462abc60b3dc7c64 100644 (file)
@@ -79,7 +79,7 @@ Type* TypeSymbolTable::remove(iterator Entry) {
 
 #if DEBUG_SYMBOL_TABLE
   dump();
-  errs() << " Removing Value: " << Result->getName() << "\n";
+  errs() << " Removing Value: " << Result->getDescription() << "\n";
 #endif
 
   tmap.erase(Entry);