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

Eli Friedman eli.friedman at gmail.com
Thu Jun 10 21:26:08 PDT 2010


Author: efriedma
Date: Thu Jun 10 23:26:08 2010
New Revision: 105810

URL: http://llvm.org/viewvc/llvm-project?rev=105810&view=rev
Log:
Add missing include; fix missed constant to use llvm::MachO.


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=105810&r1=105809&r2=105810&view=diff
==============================================================================
--- lldb/trunk/source/Core/ArchSpec.cpp (original)
+++ lldb/trunk/source/Core/ArchSpec.cpp Thu Jun 10 23:26:08 2010
@@ -9,8 +9,7 @@
 
 #include "lldb/Core/ArchSpec.h"
 
-//#include <mach/mach.h>
-//#include <mach-o/nlist.h>
+#include <stdio.h>
 
 #include <string>
 
@@ -1610,7 +1609,7 @@
         break;
 
     case eArchTypeMachO:
-        if (GetCPUType() & CPU_ARCH_ABI64)
+        if (GetCPUType() & llvm::MachO::CPUArchABI64)
             return 8;
         else
             return 4;





More information about the lldb-commits mailing list