This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Add some logging to explain why textual fallback navigation failed
AbandonedPublic

Authored by nridge on Apr 23 2020, 7:59 PM.

Details

Reviewers
sammccall
Summary

Depends on D76451.

Diff Detail

Event Timeline

nridge created this revision.Apr 23 2020, 7:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 23 2020, 7:59 PM

Applies on top of D76451.

This seems fine-grained even for vlog. Is this for debugging, can it be dlog()? (i.e. available in asserts-enabled builds behind -debug or -debug-only=XRefs.cpp)

The intent is to be able to run a production build on a production codebase and see why a particular instance of navigation failed. However, it's not super important that this land; if you don't think it's useful for others, I can just run with it applied locally.

nridge abandoned this revision.Oct 26 2020, 12:26 AM

Abandoning as per discussion. Running this locally has led me to propose D90134.