[Lldb-commits] [lldb] r113908 - /lldb/trunk/source/Core/Mangled.cpp

Jim Ingham jingham at apple.com
Tue Sep 14 17:13:44 PDT 2010


Author: jingham
Date: Tue Sep 14 19:13:44 2010
New Revision: 113908

URL: http://llvm.org/viewvc/llvm-project?rev=113908&view=rev
Log:
The Mangled name comparision should prefer the mangled name.

Modified:
    lldb/trunk/source/Core/Mangled.cpp

Modified: lldb/trunk/source/Core/Mangled.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Mangled.cpp?rev=113908&r1=113907&r2=113908&view=diff
==============================================================================
--- lldb/trunk/source/Core/Mangled.cpp (original)
+++ lldb/trunk/source/Core/Mangled.cpp Tue Sep 14 19:13:44 2010
@@ -95,7 +95,7 @@
 int
 Mangled::Compare (const Mangled& a, const Mangled& b)
 {
-    return ConstString::Compare(a.GetName(ePreferDemangled), a.GetName(ePreferDemangled));
+    return ConstString::Compare(a.GetName(ePreferMangled), a.GetName(ePreferMangled));
 }
 
 





More information about the lldb-commits mailing list