Skip to content

Conversation

@pvdrz
Copy link
Contributor

@pvdrz pvdrz commented Nov 21, 2025

This PR does slight changes to the CoverageMapping method so it loads the mapping info for each object file lazily.

The main motivation behind this change is that loading the mapping info for a coverage report with many object files can cause memory issues easily. I encountered this issue when trying to load the coverage information resulting from running doctests, where there is one binary for each doctest that's being run.

Copy link
Owner

@xd009642 xd009642 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@xd009642 xd009642 merged commit f48be89 into xd009642:master Nov 21, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants