diff options
author | Jim Ingham <jingham@apple.com> | 2011-05-18 05:04:36 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2011-05-18 05:04:36 +0000 |
commit | 8c0ee2151786750368ee65dc4dd1f602708452e9 (patch) | |
tree | 349ef9902924bbf0c4d042846b51ab8a6d3471c6 /lldb/source/Commands/CommandCompletions.cpp | |
parent | 832332d7242c0bda4b3e8aabe79d12c3299d4a44 (diff) | |
download | bcm5719-llvm-8c0ee2151786750368ee65dc4dd1f602708452e9.tar.gz bcm5719-llvm-8c0ee2151786750368ee65dc4dd1f602708452e9.zip |
Symbol may not have a demangled name, use GetName to get the best name available in this case.
llvm-svn: 131527
Diffstat (limited to 'lldb/source/Commands/CommandCompletions.cpp')
-rw-r--r-- | lldb/source/Commands/CommandCompletions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandCompletions.cpp b/lldb/source/Commands/CommandCompletions.cpp index e57a8b41685..f1168908590 100644 --- a/lldb/source/Commands/CommandCompletions.cpp +++ b/lldb/source/Commands/CommandCompletions.cpp @@ -633,7 +633,7 @@ CommandCompletions::SymbolCompleter::SearchCallback ( } else if (sc.symbol && sc.symbol->GetAddressRangePtr()) { - m_match_set.insert (sc.symbol->GetMangled().GetDemangledName()); + m_match_set.insert (sc.symbol->GetMangled().GetName()); } } } |