HomePhabricator

PR42301: Abort cleanly if we encounter a huge source file rather than crashing.

Authored by Richard Smith <richard-llvm@metafoo.co.uk> on Jun 21 2019, 1:46 PM.

Description

PR42301: Abort cleanly if we encounter a huge source file rather than crashing.

Ideally we wouldn't care about the size of a file so long as it fits in
memory, but in practice we have lots of hardocded assumptions that
unsigned can be used to index files, string literals, and so on.

llvm-svn: 364103

Event Timeline

Richard Smith <richard-llvm@metafoo.co.uk> committed rG979ae80af7ec: PR42301: Abort cleanly if we encounter a huge source file rather than crashing. (authored by Richard Smith <richard-llvm@metafoo.co.uk>).Jun 21 2019, 1:46 PM