OSDN Git Service

[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)
commit22a1ef14bd64af40f9e15ff3377ae96477e12502
tree0589160b44ca4f6921f711e90ffb745b6cc7b382
parent3080dcbe49eeaa6b08e62b5136c43192325c2db7
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335254 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp
test/MC/ELF/dwarf-file0.s