[Lldb-commits] [lldb] r131527 - /lldb/trunk/source/Commands/CommandCompletions.cpp

Jim Ingham jingham at apple.com
Tue May 17 22:04:36 PDT 2011


Author: jingham
Date: Wed May 18 00:04:36 2011
New Revision: 131527

URL: http://llvm.org/viewvc/llvm-project?rev=131527&view=rev
Log:
Symbol may not have a demangled name, use GetName to get the best name available in this case.

Modified:
    lldb/trunk/source/Commands/CommandCompletions.cpp

Modified: lldb/trunk/source/Commands/CommandCompletions.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandCompletions.cpp?rev=131527&r1=131526&r2=131527&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandCompletions.cpp (original)
+++ lldb/trunk/source/Commands/CommandCompletions.cpp Wed May 18 00:04:36 2011
@@ -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());
                 }
             }
         }





More information about the lldb-commits mailing list