[DWARF] Emit a split line table only if there are split type units.
authorPaul Robinson <paul.robinson@sony.com>
Thu, 1 Mar 2018 00:12:35 +0000 (00:12 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 1 Mar 2018 00:12:35 +0000 (00:12 +0000)
commit1e0116c91dbd44574f4f22dc0646203d6cd159f6
tree5e185b9b4ca2c52be394df999b8ca59b4de334bb
parentcb9611ca67f7657dcfbe44aac0cb01a6c0a54c80
[DWARF] Emit a split line table only if there are split type units.

A .debug_info.dwo section doesn't use the .debug_line.dwo section.

llvm-svn: 326395
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/test/DebugInfo/Generic/empty.ll