This is an archive of the discontinued LLVM Phabricator instance.

[clangd][Index][NFC] Make local class collection optional
AbandonedPublic

Authored by kadircet on Apr 20 2021, 4:10 AM.

Details

Summary

This introduces an option to symbolcollector for controlling whether
function-local classes and their methods should be collected.

The patch defaults the option to true, which is the existing behaviour.

We are suspecting this switch has caused blow ups in memory usage for some big
codebases, so would like the ability to turn them off.

Diff Detail

Event Timeline

kadircet created this revision.Apr 20 2021, 4:10 AM
kadircet requested review of this revision.Apr 20 2021, 4:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 20 2021, 4:10 AM

This seems reasonable, but having found the problem, do we still want to land it?

nridge added a subscriber: nridge.Apr 24 2021, 9:39 PM
kadircet abandoned this revision.Apr 27 2021, 12:51 AM

This seems reasonable, but having found the problem, do we still want to land it?

I suppose not.