Next step: Only pad debug_line when the target is darwin. Add a FIXME to avoid
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 4 Dec 2010 00:31:13 +0000 (00:31 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 4 Dec 2010 00:31:13 +0000 (00:31 +0000)
commit767b1be3900bdc693aa0ad3e554ba034845f67f7
treed3d76fda6dbf4315192bf1d611eee5cad2a56296
parentceab50198ee0d1aa2468d868111e3cf7c0c56ebd
Next step: Only pad debug_line when the target is darwin. Add a FIXME to avoid
doing that if the target is darwin10 or newer.

This fixes
*) Direct object emission was producing objects without the workaround on
   darwin9.
*) Assembly printing was producing objects with the workaround on linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120866 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCDwarf.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCAsmInfoDarwin.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCDwarf.cpp
test/MC/ELF/empty-dwarf-lines.s [new file with mode: 0644]
test/MC/MachO/empty-dwarf-lines.s [new file with mode: 0644]