This is relative to PR33173,
Previously if something wrong happened on DWARF parsers side during parsing
object for building gdb index (like was in PR: unsupported relocation) then LLD continued
and finished the link. DWARF parsers sure showed error message on their side, but that is all.
Patch changes behavior to fail the link in this case and show more detailed message.
What does this ErrorPolicy::Continue mean? If there's something like Abort, you want to abort, as if something is broken in a DWARF debug info, it is very likely that the following bytes are also garbage.