diff options
author | Sean Callanan <scallanan@apple.com> | 2009-07-27 18:33:24 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2009-07-27 18:33:24 +0000 |
commit | 69ec0e2c7dad9d8de1e7e6f30a428ce7d4465b1a (patch) | |
tree | 537358e8a0727bca90fd9bb91b21c4876f6f2489 /lib | |
parent | 9399ff2369c6919e277afab10dc67d37386a7095 (diff) | |
download | external_llvm-69ec0e2c7dad9d8de1e7e6f30a428ce7d4465b1a.zip external_llvm-69ec0e2c7dad9d8de1e7e6f30a428ce7d4465b1a.tar.gz external_llvm-69ec0e2c7dad9d8de1e7e6f30a428ce7d4465b1a.tar.bz2 |
Many of Daniel's fixes.
I'm returning the number of bytes actually copied so that the client has some
warning when it reads past the end of the buffer.
I'm keeping the distinction between getByte() and getBytes() for now for
subclasses that use functions like ptrace() on Linux and only have a restricted
interface. This makes their implementation easier, and subclasses can always
write a one-line implementation of readByte() that uses their custom
readBytes().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions