Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix universal snapshots again #1920

Merged
merged 1 commit into from
Mar 29, 2024
Merged

Fix universal snapshots again #1920

merged 1 commit into from
Mar 29, 2024

Conversation

hoodmane
Copy link
Contributor

No description provided.

@hoodmane hoodmane force-pushed the hoodmane/fix-univ-snap-again branch from 1d777f8 to 5149c00 Compare March 28, 2024 23:57
@@ -397,6 +420,9 @@ function memorySnapshotDoImports(Module) {
function makeLinearMemorySnapshot(Module) {
memorySnapshotDoImports(Module);
const dsoJSON = recordDsoHandles(Module);
if (IS_CREATING_BASELINE_SNAPSHOT) {
// checkLoadedSoFiles(dsoJSON);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be commented out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't work with the intentionally messed up creation logic in preloadDynamicLibs so we can leave a todo to enable a check like that.

@hoodmane hoodmane merged commit 5551497 into main Mar 29, 2024
10 checks passed
@hoodmane hoodmane deleted the hoodmane/fix-univ-snap-again branch March 29, 2024 00:15
kflansburg pushed a commit that referenced this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants