diff options
author | Greg Clayton <gclayton@apple.com> | 2015-07-08 22:32:23 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-07-08 22:32:23 +0000 |
commit | ddaf6a7259a5f56431ca7889c912601e94d1ce20 (patch) | |
tree | 670fc9ed2ab0780f98a2160253921fa4fb6859ab /lldb/source/Core/FormatEntity.cpp | |
parent | 4104fe8ae92861d77b40adc78635915fbf6a1470 (diff) | |
download | bcm5719-llvm-ddaf6a7259a5f56431ca7889c912601e94d1ce20.tar.gz bcm5719-llvm-ddaf6a7259a5f56431ca7889c912601e94d1ce20.zip |
Make many mangled functions that might demangle a name be allowed to specify a language to use in order to soon support Pascal and Java demangling. Dawn Perchik will take care of making this so.
llvm-svn: 241751
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r-- | lldb/source/Core/FormatEntity.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp index 2ebe95747bc..e89d6c9cb4a 100644 --- a/lldb/source/Core/FormatEntity.cpp +++ b/lldb/source/Core/FormatEntity.cpp @@ -1666,7 +1666,7 @@ FormatEntity::Format (const Entry &entry, if (inline_info) { s.PutCString(" [inlined] "); - inline_info->GetName().Dump(&s); + inline_info->GetName(sc->function->GetLanguage()).Dump(&s); } } } @@ -1679,9 +1679,9 @@ FormatEntity::Format (const Entry &entry, { ConstString name; if (sc->function) - name = sc->function->GetMangled().GetName (Mangled::ePreferDemangledWithoutArguments); + name = sc->function->GetNameNoArguments(); else if (sc->symbol) - name = sc->symbol->GetMangled().GetName (Mangled::ePreferDemangledWithoutArguments); + name = sc->symbol->GetNameNoArguments(); if (name) { s.PutCString(name.GetCString()); @@ -1724,7 +1724,7 @@ FormatEntity::Format (const Entry &entry, { s.PutCString (cstr); s.PutCString (" [inlined] "); - cstr = inline_info->GetName().GetCString(); + cstr = inline_info->GetName(sc->function->GetLanguage()).GetCString(); } VariableList args; |