[PATCH] Support: Use a 64-bit seek in raw_fd_ostream::seek().

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 20:53:34 PST 2016


It is not clear to me why we have a `lseek` call here in the first place.
If this code is for "just in case if we are not at beginning of a file",
I'd rather remove it.

On Thu, Dec 8, 2016 at 8:43 PM, Peter Collingbourne <peter at pcc.me.uk> wrote:

> Looks like phab isn't sending mail, so mailing this the old fashioned way.
> This fixes "lld-link /linkrepro" if the reproducer file happens to be
> larger than 2GB.
>
> Not sure if there's a good way to test this that doesn't involve creating
> huge files during check-llvm.
>
> --
> --
> Peter
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/cf1d49ec/attachment.html>


More information about the llvm-commits mailing list