Cleaned up the lldb_private::Mangled class to get rid of the tokenizing code that has bit rotted and isn't being used. Also cleaned up the API to the "lldb_private::Mangled" to always take "const ConstString &" arguments instead of both "const ConstString &" and "const char *".

llvm-svn: 160466
This commit is contained in:
Greg Clayton
2012-07-18 23:18:10 +00:00
parent 9208abd7c3
commit 037520e9cf
9 changed files with 23 additions and 838 deletions

View File

@@ -544,7 +544,7 @@ ObjectFilePECOFF::GetSymtab()
symbol.storage = symtab_data.GetU8 (&offset);
symbol.naux = symtab_data.GetU8 (&offset);
Address symbol_addr(sect_list->GetSectionAtIndex(symbol.sect-1), symbol.value);
symbols[i].GetMangled ().SetValue (symbol_name.c_str(), symbol_name[0]=='_' && symbol_name[1] == 'Z');
symbols[i].GetMangled ().SetValue (ConstString(symbol_name.c_str()));
symbols[i].GetAddress() = symbol_addr;
if (symbol.naux > 0)