[llvm-commits] MemoryBuffer::getOpenFile: use 64-bit types instead of off_t/size_t

Chris Lattner clattner at apple.com
Thu Sep 15 15:57:11 PDT 2011


On Sep 15, 2011, at 1:20 PM, Ivan Krasin wrote:

> Hi llvm-team,
> 
> in order to address the subtle issue with different compilation flags
> of different parts of LLVM (see
> http://old.nabble.com/gold-plugin,-large-file-support-and-the-rest-of-llvm-td32472859.html
> for the details),
> I'd like to change the signature of MemoryBuffer::getOpenFile to use
> uint64_t instead of size_t and int64_t instead of off_t.
> 
> See the patch attached.
> 
> OK to commit?

Looks great, please commit.

-Chris



More information about the llvm-commits mailing list