CodeGen: Enable DWARF emission for MS ABI targets
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 4 Nov 2014 08:03:31 +0000 (08:03 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 4 Nov 2014 08:03:31 +0000 (08:03 +0000)
commitb925715c561d9f4799dcda5d898a0b8785c1b6b6
tree2db6d2000928df87fa287f02f808dbf6465572f4
parent6091fe7db9a83e65932ba3b630d04cf8ea5328aa
CodeGen: Enable DWARF emission for MS ABI targets

This is experimental, just barely enough to get things to not
immediately combust.

A note for those who are curious:
Only lld can successfully link the object files, other linkers truncate
the section names making the debug sections illegible to debuggers.

Even with this in mind, we believe we are having trouble with SECREL
relocations.

llvm-svn: 221245
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/test/DebugInfo/COFF/asm.ll
llvm/test/DebugInfo/COFF/multifile.ll
llvm/test/DebugInfo/COFF/multifunction.ll
llvm/test/DebugInfo/COFF/simple.ll
llvm/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll