diff options
author | Dan Albert <danalbert@google.com> | 2019-01-15 19:14:15 +0000 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2019-01-15 19:14:15 +0000 |
commit | 5452d3f0995594ad048e7907b980a6c7f04a7e25 (patch) | |
tree | ef02700274c594a360e96b05d989f2cdc599ae5d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | fce3972553f42e4dc5ba1a4d8116a1b551aed337 (diff) | |
download | bcm5719-llvm-5452d3f0995594ad048e7907b980a6c7f04a7e25.tar.gz bcm5719-llvm-5452d3f0995594ad048e7907b980a6c7f04a7e25.zip |
Add large file support to create_file for 32-bit.
Summary:
The tests need to create files larger than 2GB, but size_t is 32-bit
on a 32-bit system. Make use of explicit off64_t APIs so we can still
use a default off_t for the tests while enabling 64-bit file offsets
for create_file.
Reviewers: mclow.lists, EricWF
Reviewed By: EricWF
Subscribers: christof, ldionne, libcxx-commits
Differential Revision: https://reviews.llvm.org/D56619
llvm-svn: 351225
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions