summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-08 08:11:22 +0000
committerChris Lattner <sabre@nondot.org>2009-03-08 08:11:22 +0000
commit139d87b80563b4ad3fff5b757317f1d8a33d4864 (patch)
treeee0cba87e5a13c02555502a31ffbf6821c44fdab /llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
parentfa217bda402c3bf69527559fd3fef2e79db4bf1a (diff)
downloadbcm5719-llvm-139d87b80563b4ad3fff5b757317f1d8a33d4864.tar.gz
bcm5719-llvm-139d87b80563b4ad3fff5b757317f1d8a33d4864.zip
generalize the "end of line" checking logic to stop at any \0 at the
end of line instead of just the end of buffer. Scratch buffers contain embedded \0's between tokens which are logic line separators. If a normal text buffer contains \0's, it doesn't make a lot of sense to include them in the caret diag output anyway. llvm-svn: 66374
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud