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)
commitab15115ee02063ffc74c67da8d4f41dbec06fe47
treec77c81e28486081c558f0165df91eab6524f38cd
parent60234de3b50249bdf69a6644caba73b396f9ad24
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221245 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/DebugInfo/COFF/asm.ll
test/DebugInfo/COFF/multifile.ll
test/DebugInfo/COFF/multifunction.ll
test/DebugInfo/COFF/simple.ll
test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll