[CodeView] Initialize column-end to zero
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 12 Jan 2016 21:58:20 +0000 (21:58 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 12 Jan 2016 21:58:20 +0000 (21:58 +0000)
commit469e6b09820b91baa7536a6343904ee0913103c6
tree27846ddb51e1a59800165aa4006ab0048f5bf9e8
parent4b49dfacab7f63472ae05b23344c2ca222878b09
[CodeView] Initialize column-end to zero

CodeView, unlike DWARF, can associate code with a range of columns.
However, LLVM can only represent a single column position internally.

We used to claim that the end column and start column were the same
which yielded less than satisfactory results: we would stop printing at
the _beginning_ of the source expression!  Instead, mark the column-end
as 'zero' to indicate that we don't have one (as per the documentation
for IDiaLineNumber::get_lineNumberEnd).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257528 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp
test/DebugInfo/COFF/multifunction.ll