commit | 4dfffa11c4001220b5f90c7ad3f9d4f948a139d9 | [log] [tgz] |
---|---|---|
author | Jim Ingham <jingham@apple.com> | Wed May 18 05:04:36 2011 +0000 |
committer | Jim Ingham <jingham@apple.com> | Wed May 18 05:04:36 2011 +0000 |
tree | 73c51a222ea8e6900ab89074f9cc8ce955113af7 | |
parent | 9935a860350721f6bb32e841d89e1c25c07b98a7 [diff] |
Symbol may not have a demangled name, use GetName to get the best name available in this case. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@131527 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandCompletions.cpp b/source/Commands/CommandCompletions.cpp index e57a8b4..f116890 100644 --- a/source/Commands/CommandCompletions.cpp +++ b/source/Commands/CommandCompletions.cpp
@@ -633,7 +633,7 @@ } else if (sc.symbol && sc.symbol->GetAddressRangePtr()) { - m_match_set.insert (sc.symbol->GetMangled().GetDemangledName()); + m_match_set.insert (sc.symbol->GetMangled().GetName()); } } }