It may not be an option to skip .debug_line if there are file reference in already...
authorDevang Patel <dpatel@apple.com>
Fri, 3 Dec 2010 00:10:48 +0000 (00:10 +0000)
committerDevang Patel <dpatel@apple.com>
Fri, 3 Dec 2010 00:10:48 +0000 (00:10 +0000)
commit5113cdbfff7df4c7a79a92e5aa971126254202c6
treebb4a12f7f5324158308fbb6b3db9b7636ad2a2aa
parent3fda44f276647bc43c283268907bac605a8f7eb5
It may not be an option to skip .debug_line if there are file reference in already emitted debug info. So, for now, emit dummy line table entry to make older linker and assemblers happy. This is not a new behavior, original AsmPrinter emitted similar line table entries.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120760 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCDwarf.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCDwarf.cpp