Page MenuHomePhabricator

Add large file support to create_file for 32-bit.
ClosedPublic

Authored by danalbert on Jan 11 2019, 2:03 PM.

Details

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.

Diff Detail

Repository
rL LLVM

Event Timeline

danalbert created this revision.Jan 11 2019, 2:03 PM
EricWF accepted this revision.Jan 14 2019, 10:05 AM
This revision is now accepted and ready to land.Jan 14 2019, 10:05 AM
This revision was automatically updated to reflect the committed changes.