vm_kernel_page_size appears to not be defined on OSX Mavericks, so the build fails with:
... ../tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:452:41: error: use of undeclared identifier 'vm_kernel_page_size' static vm_size_t pagesize = vm_kernel_page_size; ^ ../tools/lldb/tools/debugserver/source/MacOSX/MachTask.mm:470:60: error: use of undeclared identifier 'vm_kernel_page_size' uint64_t total_used_count = (physical_memory / vm_kernel_page_size) - (vminfo.free_count - vminfo.speculative_count) - vminfo.external_page_count - vminfo.purgeable_count; ...
This patch fixes the build by calculating the pagesize if _VM_PAGE_SIZE_H_ is not defined.