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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user