[Lldb-commits] [lldb] r162802 - /lldb/trunk/source/Core/ArchSpec.cpp

Johnny Chen johnny.chen at apple.com
Tue Aug 28 15:53:40 PDT 2012


Author: johnny
Date: Tue Aug 28 17:53:40 2012
New Revision: 162802

URL: http://llvm.org/viewvc/llvm-project?rev=162802&view=rev
Log:
rdar://problem/11374963

Fix a subtle ArchSpec::cores_match() logic issue which prevents the add-dsym command
to add a debug symbol file to one of the target's current modules.

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

Modified: lldb/trunk/source/Core/ArchSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ArchSpec.cpp?rev=162802&r1=162801&r2=162802&view=diff
==============================================================================
--- lldb/trunk/source/Core/ArchSpec.cpp (original)
+++ lldb/trunk/source/Core/ArchSpec.cpp Tue Aug 28 17:53:40 2012
@@ -862,6 +862,15 @@
             return true;
         break;
 
+    case ArchSpec::eCore_arm_armv7:
+    case ArchSpec::eCore_arm_armv7f:
+    case ArchSpec::eCore_arm_armv7k:
+    case ArchSpec::eCore_arm_armv7s:
+        try_inverse = false;
+        if (core2 == ArchSpec::eCore_arm_armv7)
+            return true;
+        break;
+
     default:
         break;
     }





More information about the lldb-commits mailing list