[llvm-bugs] [Bug 42301] Crash on extremely long string
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jun 21 13:48:31 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=42301
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
As of r364103, Clang now cleanly rejects input files larger than 4GB:
$ ./build/bin/clang ./hello.c -o hello
error: sorry, unsupported: file './hello.c' is too large for Clang to process
fatal error: error opening file './hello.c':
Sadly we have too many assumptions that offsets (within a file, within a string
literal, ...) fit in 32 bits to easily fix, and it's not clear that it'd be
worth the engineering cost to support such large files.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190621/852c99ae/attachment.html>
More information about the llvm-bugs
mailing list