diff options
author | Greg Clayton <gclayton@apple.com> | 2015-04-09 00:06:44 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2015-04-09 00:06:44 +0000 |
commit | 29aac9a56c58ea01978b3e1e7a18533cd8eabbc0 (patch) | |
tree | a7429cbf0596c9bb03fabd6986538665dfca1be8 /llvm/lib/Support/Debug.cpp | |
parent | 2effbd6b682526dd2679f87eb55dabadca25fa54 (diff) | |
download | llvm-29aac9a56c58ea01978b3e1e7a18533cd8eabbc0.zip llvm-29aac9a56c58ea01978b3e1e7a18533cd8eabbc0.tar.gz llvm-29aac9a56c58ea01978b3e1e7a18533cd8eabbc0.tar.bz2 |
Darwin read()/pread()/fread() and write()/pwrite()/fwrite() calls can only write INT_MAX bytes at a time.
Modify all read/write calls to allow any system to define MAX_READ_SIZE or MAX_WRITE_SIZE so large reads and writes can be divided up correctly.
<rdar://problem/20471411>
llvm-svn: 234455
Diffstat (limited to 'llvm/lib/Support/Debug.cpp')
0 files changed, 0 insertions, 0 deletions