Downgrade DWARF2 section limit error to a warning
authorOliver Stannard <oliver.stannard@arm.com>
Mon, 22 Sep 2014 10:45:16 +0000 (10:45 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Mon, 22 Sep 2014 10:45:16 +0000 (10:45 +0000)
commit98ef3474ef26f06ca673a292027584567306d430
tree82a1dbd4ef877aa90eb365543506ee83467d5dc0
parent1e165a0d5ec41e8847b59c9f67d0e471b7a3b58b
Downgrade DWARF2 section limit error to a warning

We currently emit an error when trying to assemble a file with more
than one section using DWARF2 debug info. This should be a warning
instead, as the resulting file will still be usable, but with a
degraded debug illusion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDwarf.cpp
lib/MC/MCParser/ELFAsmParser.cpp
test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s [new file with mode: 0644]
test/MC/ARM/dwarf-asm-multiple-sections.s