[PATCH] D28107: [ELF] - Do not create huge garbage files on section offset overflow.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 17:26:23 PST 2017


ruiu added a comment.

I think I suggested this before, but I'd suggest using uint64_t instead of uintX_t to keep a file size. On 32-bit, if a file size is >4GB, you want to report an error.


https://reviews.llvm.org/D28107





More information about the llvm-commits mailing list