This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Increase the maximum number of classes we can read from shared cache
ClosedPublic

Authored by bulbazord on Jun 26 2023, 2:23 PM.

Details

Summary

The shared cache has grown past the previously hardcoded limit. As a
temporary measure, I am increasing the hardcoded number of classes we
can expect to read from the shared cache. This is not a good long-term
solution.

Diff Detail

Event Timeline

bulbazord created this revision.Jun 26 2023, 2:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 2:23 PM
bulbazord requested review of this revision.Jun 26 2023, 2:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 26 2023, 2:23 PM
jasonmolenda accepted this revision.Jun 26 2023, 2:25 PM

LGTM. You might want to mention why it isn't sustainable -- because we must allocate memory in the inferior process, and some inferior processes have quite small memory limits.

This revision is now accepted and ready to land.Jun 26 2023, 2:25 PM

LGTM. You might want to mention why it isn't sustainable -- because we must allocate memory in the inferior process, and some inferior processes have quite small memory limits.

Sounds good, will update.

bulbazord updated this revision to Diff 534753.Jun 26 2023, 2:28 PM

Update FIXME with more info

bulbazord updated this revision to Diff 534757.Jun 26 2023, 2:54 PM

Updating number

This revision was landed with ongoing or failed builds.Jun 26 2023, 3:01 PM
This revision was automatically updated to reflect the committed changes.