diff options
author | Han Ming Ong <hanming@apple.com> | 2015-06-26 00:04:51 +0000 |
---|---|---|
committer | Han Ming Ong <hanming@apple.com> | 2015-06-26 00:04:51 +0000 |
commit | 459a23e0a3f076515b5dbfd0a33273d20d6a60f0 (patch) | |
tree | c5a45a27b85fa2473ac12c500fa99871453797b9 /lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp | |
parent | 773e8c39665ef63e5d6e7797f862e90d84a9141d (diff) | |
download | bcm5719-llvm-459a23e0a3f076515b5dbfd0a33273d20d6a60f0.tar.gz bcm5719-llvm-459a23e0a3f076515b5dbfd0a33273d20d6a60f0.zip |
Use the right ifdef macro, reviewed by Jason
llvm-svn: 240739
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp index b6ef8915f3d..d773009bc98 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp +++ b/lldb/tools/debugserver/source/MacOSX/MachVMMemory.cpp @@ -420,7 +420,7 @@ GetPurgeableAndAnonymous(task_t task, uint64_t &purgeable, uint64_t &anonymous) #if defined (HOST_VM_INFO64_COUNT) nub_bool_t MachVMMemory::GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics64_data_t &vminfo, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgeable, mach_vm_size_t &anonymous) -#elif +#else nub_bool_t MachVMMemory::GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics_data_t &vminfo, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgeable, mach_vm_size_t &anonymous) #endif @@ -434,7 +434,7 @@ MachVMMemory::GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, str #if defined (HOST_VM_INFO64_COUNT) mach_msg_type_number_t count = HOST_VM_INFO64_COUNT; host_statistics64(localHost, HOST_VM_INFO64, (host_info64_t)&vminfo, &count); -#elif +#else mach_msg_type_number_t count = HOST_VM_INFO_COUNT; host_statistics(localHost, HOST_VM_INFO, (host_info_t)&vminfo, &count); vminfo.wire_count += GetStolenPages(task); |