This revision was automatically updated to reflect the committed changes. Closed by commit rL246606: [debugserver] Fix sign comparison warning. (authored by brucem).
Changed prior to commit: http://reviews.llvm.org/D12519?vs=33666&id=33756#toc Repository: rL LLVM http://reviews.llvm.org/D12519 Files: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h Index: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp +++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp @@ -19,6 +19,8 @@ #include <sys/sysctl.h> #include <dlfcn.h> +static const vm_size_t kInvalidPageSize = ~0; + MachVMMemory::MachVMMemory() : m_page_size (kInvalidPageSize), m_err (0) Index: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h +++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h @@ -21,7 +21,6 @@ class MachVMMemory { public: - enum { kInvalidPageSize = ~0 }; MachVMMemory(); ~MachVMMemory(); nub_size_t Read(task_t task, nub_addr_t address, void *data, nub_size_t data_count);
Index: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp +++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.cpp @@ -19,6 +19,8 @@ #include <sys/sysctl.h> #include <dlfcn.h> +static const vm_size_t kInvalidPageSize = ~0; + MachVMMemory::MachVMMemory() : m_page_size (kInvalidPageSize), m_err (0) Index: lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h +++ lldb/trunk/tools/debugserver/source/MacOSX/MachVMMemory.h @@ -21,7 +21,6 @@ class MachVMMemory { public: - enum { kInvalidPageSize = ~0 }; MachVMMemory(); ~MachVMMemory(); nub_size_t Read(task_t task, nub_addr_t address, void *data, nub_size_t data_count);
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits