[PATCH] Downgrade DWARF2 section limit error to a warning

Oliver Stannard oliver.stannard at arm.com
Wed Sep 17 07:11:53 PDT 2014


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.

http://reviews.llvm.org/D5379

Files:
  lib/MC/MCDwarf.cpp
  lib/MC/MCParser/ELFAsmParser.cpp
  test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s
  test/MC/ARM/dwarf-asm-multiple-sections.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5379.13783.patch
Type: text/x-patch
Size: 6076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140917/06b4c312/attachment.bin>


More information about the cfe-commits mailing list