Modified the Objective-C type map in SymbolFileSymtab
to use ConstStrings.  The const char*s were assumed to
be from ConstStrings before, but since storing a full-on
ConstString is no more expensive than storing a const
char* it makes better sense to enforce uniqueness with
the type checker.

llvm-svn: 145688
diff --git a/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp b/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
index 891cb49..a44d092 100644
--- a/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
+++ b/lldb/source/Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp
@@ -396,7 +396,7 @@
     
     if (HasObjCSymbols())
     {
-        TypeMap::iterator iter = m_objc_class_types.find(name.AsCString());
+        TypeMap::iterator iter = m_objc_class_types.find(name);
         
         if (iter != m_objc_class_types.end())
         {
@@ -510,7 +510,7 @@
                                     objc_object_type,
                                     Type::eResolveStateFull));
         
-        m_objc_class_types[name.AsCString()] = type;
+        m_objc_class_types[name] = type;
         
         types.Insert(type);