summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-06-11 04:26:08 +0000
committerEli Friedman <eli.friedman@gmail.com>2010-06-11 04:26:08 +0000
commit50fac2f7b5e474f795e091c9913c153127bf6f18 (patch)
treef46f37a5c8fcfb13e6621c4783bda9def6e607ed /lldb/source/Core/ArchSpec.cpp
parentb6a5a0d9e124d22ea3e6abbc3b41325af0ca3f0c (diff)
downloadbcm5719-llvm-50fac2f7b5e474f795e091c9913c153127bf6f18.tar.gz
bcm5719-llvm-50fac2f7b5e474f795e091c9913c153127bf6f18.zip
Add missing include; fix missed constant to use llvm::MachO.
llvm-svn: 105810
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index 132c5c1488a..b7fbf5f25a0 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -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 @@ ArchSpec::GetAddressByteSize() const
break;
case eArchTypeMachO:
- if (GetCPUType() & CPU_ARCH_ABI64)
+ if (GetCPUType() & llvm::MachO::CPUArchABI64)
return 8;
else
return 4;
OpenPOWER on IntegriCloud