This is an archive of the discontinued LLVM Phabricator instance.

[clangd] No crash on "-verify" mode.
ClosedPublic

Authored by hokein on Nov 19 2020, 2:14 AM.

Details

Summary

If there is a "-verify" flag in the compile command, clangd will crash
(hit the assertion) inside the ~VerifyDiagnosticConsumer (Looks like our
compiler invocation doesn't setup correctly?).

This patch disables the verify mode as it is rarely useful in clangd.

Diff Detail

Event Timeline

hokein created this revision.Nov 19 2020, 2:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 19 2020, 2:14 AM
hokein requested review of this revision.Nov 19 2020, 2:14 AM
adamcz accepted this revision.Nov 19 2020, 6:35 AM
This revision is now accepted and ready to land.Nov 19 2020, 6:35 AM
This revision was automatically updated to reflect the committed changes.