summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-12-16 20:15:34 +0000
committerGreg Clayton <gclayton@apple.com>2010-12-16 20:15:34 +0000
commited6deadb466b113d7b4f4f3c1858966c58db7275 (patch)
tree6166e2c2aff8e41a08f7358c30234bfbf4d430a7
parent58a4c467667f0e413bf86fb970b2b44dd4c1e906 (diff)
downloadbcm5719-llvm-ed6deadb466b113d7b4f4f3c1858966c58db7275.tar.gz
bcm5719-llvm-ed6deadb466b113d7b4f4f3c1858966c58db7275.zip
Added header doc for the recently added Process::ReadUnsignedInteger (addr_t addr, size_t int_byte_size, Error &error) function.
llvm-svn: 121999
-rw-r--r--lldb/include/lldb/Target/Process.h28
1 files changed, 26 insertions, 2 deletions
diff --git a/lldb/include/lldb/Target/Process.h b/lldb/include/lldb/Target/Process.h
index ce7e221d1cd..eb9da710862 100644
--- a/lldb/include/lldb/Target/Process.h
+++ b/lldb/include/lldb/Target/Process.h
@@ -1336,9 +1336,33 @@ public:
size_t size,
Error &error);
+ //------------------------------------------------------------------
+ /// Reads an unsigned integer of the specified byte size from
+ /// process memory.
+ ///
+ /// @param[in] load_addr
+ /// A load address of the integer to read.
+ ///
+ /// @param[in] byte_size
+ /// The size in byte of the integer to read.
+ ///
+ /// @param[out] error
+ /// An error that indicates the success or failure of this
+ /// operation. If error indicates success (error.Success()),
+ /// then the value returned can be trusted, otherwise zero
+ /// will be returned.
+ ///
+ /// @return
+ /// The unsigned integer that was read from the process memory
+ /// space. If the integer was smaller than a uint64_t, any
+ /// unused upper bytes will be zero filled. If the process
+ /// byte order differs from the host byte order, the integer
+ /// value will be appropriately byte swapped into host byte
+ /// order.
+ //------------------------------------------------------------------
uint64_t
- ReadUnsignedInteger (lldb::addr_t vm_addr,
- size_t integer_byte_size,
+ ReadUnsignedInteger (lldb::addr_t load_addr,
+ size_t byte_size,
Error &error);
//------------------------------------------------------------------
/// Actually do the writing of memory to a process.
OpenPOWER on IntegriCloud