[PATCH] D75234: [LLD] Report errors occurred while parsing debug info as warnings.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 12:56:46 PST 2020


MaskRay accepted this revision.
MaskRay added a comment.

Some DWARF producer bugs (e.g. D75375 <https://reviews.llvm.org/D75375>) will change from an error to a warning. I think it is fine.

  // clang -c -gdwarf-5 a.s -o a.o
  .section .init; ret
  .text; ret

`ld.lld --gdb-index a.o`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75234/new/

https://reviews.llvm.org/D75234





More information about the llvm-commits mailing list