[PATCH] D14171: [ELF2] merge-string.s test fixed for win32 configuraton.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 07:46:30 PDT 2015


ruiu added a comment.

Well, that's a different story. size_t is the largest type you can handle on your computer and not artificially capped. We don't fundamentally expect that any data structure we create in the linker can be larger than that. Eventually everything is written using mmap'ed IO, so even the output file itself cannot be larger than 4G on 32-bit computers. If you want to create an extremely large executable, you need to use a 64-bit computer, but that's a reasonable restriction. 32-bit computers cannot execute binaries that's larger than their addressable memory space anyways.


http://reviews.llvm.org/D14171





More information about the llvm-commits mailing list