Reapply "[DWARFv5] Emit file 0 to the line table."
authorPaul Robinson <paul.robinson@sony.com>
Tue, 6 Mar 2018 22:37:45 +0000 (22:37 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 6 Mar 2018 22:37:45 +0000 (22:37 +0000)
commit4428e90efa31df7b288b170330dc7ec941ea72f8
treef22c88ca283c4e5c7e19c2d1c52637d340b4612a
parentca38c762e46c22566f09e41712c2ea3ea2e1240a
Reapply "[DWARFv5] Emit file 0 to the line table."

Fixes the bug found by asan. Also XFAIL the new test for Darwin,
which is stuck on DWARF v2, and fix up other tests so they stop
failing on Windows.

llvm-svn: 326839
20 files changed:
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCDwarf.h
llvm/include/llvm/MC/MCStreamer.h
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
llvm/lib/MC/MCAsmStreamer.cpp
llvm/lib/MC/MCDwarf.cpp
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/lib/MC/MCStreamer.cpp
llvm/test/CodeGen/Generic/dwarf-md5.ll
llvm/test/CodeGen/Generic/dwarf-source.ll
llvm/test/DebugInfo/X86/dbg-file-name.ll
llvm/test/DebugInfo/X86/inline-asm-locs.ll
llvm/test/MC/ARM/dwarf-asm-multiple-sections.s
llvm/test/MC/ELF/debug-file-options.s
llvm/test/MC/ELF/debug-md5.s
llvm/test/MC/ELF/debug-source.s
llvm/test/MC/ELF/dwarf-file0.s [new file with mode: 0644]
llvm/tools/llvm-mc/llvm-mc.cpp