summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-07-18 23:18:10 +0000
committerGreg Clayton <gclayton@apple.com>2012-07-18 23:18:10 +0000
commit037520e9cf8d2293ce2abfd5d4cde583e79556a6 (patch)
treedb91a4c957aff985f8d4c870ab482e51a7bb77f1 /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
parent9208abd7c330510238568b0ccb4313e2f90029ac (diff)
downloadbcm5719-llvm-037520e9cf8d2293ce2abfd5d4cde583e79556a6.tar.gz
bcm5719-llvm-037520e9cf8d2293ce2abfd5d4cde583e79556a6.zip
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
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
index cc37568d6a0..36480d57d8c 100644
--- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
+++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
@@ -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)
OpenPOWER on IntegriCloud