reapply my patch, with a fix for an off-by-one error. Turned out to be a lot
authorChris Lattner <sabre@nondot.org>
Sat, 5 May 2012 22:17:32 +0000 (22:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 May 2012 22:17:32 +0000 (22:17 +0000)
commit77eafd940a2fcbecbd82e1a649b7f081cb4a3d4a
tree0abdafa095b9e1ee8a73b094951354abe34b306c
parentc18e6d937526dfc45a7b57d56ed1120f6a309fc2
reapply my patch, with a fix for an off-by-one error.  Turned out to be a lot
of work for a drive-by fix :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156246 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/SourceMgr.h
lib/Support/SourceMgr.cpp