aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-01-30 21:41:07 +0000
committerJordan Rose <jordan_rose@apple.com>2013-01-30 21:41:07 +0000
commit2da0d1cfd3b0068c2a5b84364a452a8768fdc6b3 (patch)
tree4c2cb79f944f0591a4eaeff7a8d3d4b12fb91c64 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parent6f18ae1ec89966997e5435673842bd8910b4c3dd (diff)
downloadllvm-2da0d1cfd3b0068c2a5b84364a452a8768fdc6b3.zip
llvm-2da0d1cfd3b0068c2a5b84364a452a8768fdc6b3.tar.gz
llvm-2da0d1cfd3b0068c2a5b84364a452a8768fdc6b3.tar.bz2
Diagnostics: if a line is longer than 4096 characters, don't print it.
Specifically, don't print snippets, caret diagnostics, or ranges for lines over 4096 characters. We copy the line around a few times in our diagnostics machinery, and we have to print a caret line that's just as long. This uses a lot of memory just to create a poor user experience as we print out a line much too long for anyone to read...or spend extra energy trying to fit it to -fmessage-length. <rdar://problem/13106850> llvm-svn: 173976
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
0 files changed, 0 insertions, 0 deletions