[Lldb-commits] [lldb] r339015 - Fix Mangled::Compare()

Stefan Granitz via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 6 07:15:22 PDT 2018


Author: stefan.graenitz
Date: Mon Aug  6 07:15:21 2018
New Revision: 339015

URL: http://llvm.org/viewvc/llvm-project?rev=339015&view=rev
Log:
Fix Mangled::Compare()

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=339015&r1=339014&r2=339015&view=diff
==============================================================================
--- lldb/trunk/source/Core/Mangled.cpp (original)
+++ lldb/trunk/source/Core/Mangled.cpp Mon Aug  6 07:15:21 2018
@@ -195,7 +195,7 @@ void Mangled::Clear() {
 int Mangled::Compare(const Mangled &a, const Mangled &b) {
   return ConstString::Compare(
       a.GetName(lldb::eLanguageTypeUnknown, ePreferMangled),
-      a.GetName(lldb::eLanguageTypeUnknown, ePreferMangled));
+      b.GetName(lldb::eLanguageTypeUnknown, ePreferMangled));
 }
 
 //----------------------------------------------------------------------




More information about the lldb-commits mailing list