[DWARF] Preserve column number when emitting 'line 0' record
authorPaul Robinson <paul.robinson@sony.com>
Wed, 14 Dec 2016 00:27:35 +0000 (00:27 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Wed, 14 Dec 2016 00:27:35 +0000 (00:27 +0000)
commit8fec3da00ce186f06dbbf08ff4f38cd90f079308
treec35f19da6c8e92727dc2182e93ac9d17d3ad992a
parentf6b069c7db5f86e73d997b212da8dfa5c32b822f
[DWARF] Preserve column number when emitting 'line 0' record

Follow-up to r289256, address a FIXME to avoid resetting the column
number. This reduced .debug_line by 2.6% in a RelWithDebInfo
self-build of clang.

llvm-svn: 289620
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/test/CodeGen/X86/unknown-location.ll
llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll
llvm/test/DebugInfo/X86/tail-merge.ll