forked from OSchip/llvm-project
Add missing include; fix missed constant to use llvm::MachO.
llvm-svn: 105810
This commit is contained in:
parent
b6a5a0d9e1
commit
50fac2f7b5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue