diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-21 20:46:22 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-06-21 20:46:22 +0000 |
commit | 979ae80af7ec49624b932954d22cb91900f17121 (patch) | |
tree | 012d338975038e58b16a6ec3f8810cd53a4f2e93 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 5050a8da189d126b49dc5a07e01bdbe1c2271b06 (diff) | |
download | llvm-979ae80af7ec49624b932954d22cb91900f17121.zip llvm-979ae80af7ec49624b932954d22cb91900f17121.tar.gz llvm-979ae80af7ec49624b932954d22cb91900f17121.tar.bz2 |
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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions