[DWARF] Warn on and ignore ".file 0" for DWARF v4 and earlier.
authorPaul Robinson <paul.robinson@sony.com>
Thu, 21 Jun 2018 16:42:03 +0000 (16:42 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 21 Jun 2018 16:42:03 +0000 (16:42 +0000)
commit547adcaaac64d2f4802e194c38309ad4e48a158f
tree9d05b878281420db788f42e5ee670a7ff01025bd
parentddfe69cc995d55ed45a46da18a81072c6effc9e1
[DWARF] Warn on and ignore ".file 0" for DWARF v4 and earlier.

This had been messing with the directory table for prior versions, and
also could induce a crash when generating asm output.

llvm-svn: 335254
llvm/lib/MC/MCParser/AsmParser.cpp
llvm/test/MC/ELF/dwarf-file0.s