[Lldb-commits] [lldb] r105721 - in /lldb/trunk: include/lldb/Core/ValueObjectChild.h include/lldb/Symbol/ClangASTContext.h source/Core/DataBufferMemoryMap.cpp
Eli Friedman
eli.friedman at gmail.com
Wed Jun 9 02:53:11 PDT 2010
Author: efriedma
Date: Wed Jun 9 04:53:11 2010
New Revision: 105721
URL: http://llvm.org/viewvc/llvm-project?rev=105721&view=rev
Log:
A few more minor fixes.
Modified:
lldb/trunk/include/lldb/Core/ValueObjectChild.h
lldb/trunk/include/lldb/Symbol/ClangASTContext.h
lldb/trunk/source/Core/DataBufferMemoryMap.cpp
Modified: lldb/trunk/include/lldb/Core/ValueObjectChild.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Core/ValueObjectChild.h?rev=105721&r1=105720&r2=105721&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Core/ValueObjectChild.h (original)
+++ lldb/trunk/include/lldb/Core/ValueObjectChild.h Wed Jun 9 04:53:11 2010
@@ -13,7 +13,6 @@
// C Includes
// C++ Includes
// Other libraries and framework includes
-#include "clang/AST/Type.h"
// Project includes
#include "lldb/Core/ValueObject.h"
Modified: lldb/trunk/include/lldb/Symbol/ClangASTContext.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Symbol/ClangASTContext.h?rev=105721&r1=105720&r2=105721&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Symbol/ClangASTContext.h (original)
+++ lldb/trunk/include/lldb/Symbol/ClangASTContext.h Wed Jun 9 04:53:11 2010
@@ -14,6 +14,8 @@
// C++ Includes
#include <string>
#include <vector>
+#include <memory>
+#include <stdint.h>
// Other libraries and framework includes
// Project includes
Modified: lldb/trunk/source/Core/DataBufferMemoryMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/DataBufferMemoryMap.cpp?rev=105721&r1=105720&r2=105721&view=diff
==============================================================================
--- lldb/trunk/source/Core/DataBufferMemoryMap.cpp (original)
+++ lldb/trunk/source/Core/DataBufferMemoryMap.cpp Wed Jun 9 04:53:11 2010
@@ -97,7 +97,7 @@
//----------------------------------------------------------------------
// Memory map "length" bytes from "file" starting "offset"
-// bytes into the file. If "length" is set to SIZE_T_MAX, then
+// bytes into the file. If "length" is set to SIZE_MAX, then
// map as many bytes as possible.
//
// Returns the number of bytes mapped starting from the requested
@@ -137,7 +137,7 @@
// containing valid data from a call to stat().
//
// Memory map FILE_LENGTH bytes in FILE starting FILE_OFFSET bytes into
-// the file. If FILE_LENGTH is set to SIZE_T_MAX, then map as many bytes
+// the file. If FILE_LENGTH is set to SIZE_MAX, then map as many bytes
// as possible.
//
// RETURNS
@@ -154,7 +154,7 @@
{
if ((stat.st_mode & S_IFREG) && (stat.st_size > offset))
{
- if (length == SIZE_T_MAX)
+ if (length == SIZE_MAX)
length = stat.st_size - offset;
// Cap the length if too much data was requested
More information about the lldb-commits
mailing list