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

Ivan Krasin krasin at chromium.org
Thu Sep 15 13:20:19 PDT 2011


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?

krasin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: memory_buffer_no_off_t.patch
Type: text/x-patch
Size: 2499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110915/26230b99/attachment.bin>


More information about the llvm-commits mailing list