-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for multiple copies of the same function in different modules.
Previous iterations of the cache assumed a one-one-one function name to module mapping, however it's possible to end up with many modules which contain the same function (e.g due to a race condition when using multiple processes, but other scenarios could exist in the future). This commit separates the func_name (the id for the function) with the link_name (the unique id for a given function in a given module). This distinction is not exposed outside the cache - when asked for a target the cache chooses which version to return (currently just the first one it sees).
- Loading branch information
William Grant
committed
Mar 2, 2023
1 parent
12e35a8
commit d77f679
Showing
3 changed files
with
372 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.