DebugInfo: Don't include the name of the CU file in the line table file list when...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 11 Feb 2014 21:49:46 +0000 (21:49 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 11 Feb 2014 21:49:46 +0000 (21:49 +0000)
commitfeb006fac48cc8ba89f2d72ae7ffc27c13403e04
treebe32b49b1d39e4ee7ce04f3311c6987717f9a851
parent3f93eb58a6b7f2adb4405e0a8c5d1ccd31f622fb
DebugInfo: Don't include the name of the CU file in the line table file list when it's unneeded

This comes up in empty files or files containing #file directives that
never reference the actual source file name. Came up in a small test of
line tables I was playing with.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/empty.ll [new file with mode: 0644]