Skip to content

When renaming functions ensure the corresponding GOT.func entry is also renamed#2382

Merged
sbc100 merged 2 commits intomasterfrom
fix_function_renames
Oct 25, 2019
Merged

When renaming functions ensure the corresponding GOT.func entry is also renamed#2382
sbc100 merged 2 commits intomasterfrom
fix_function_renames

Conversation

@sbc100
Copy link
Copy Markdown
Member

@sbc100 sbc100 commented Oct 11, 2019

Fixes #2180

@sbc100 sbc100 requested a review from kripken October 11, 2019 23:46
Comment thread src/ir/module-utils.h Outdated
Comment thread src/ir/module-utils.h Outdated
Comment thread src/tools/wasm-emscripten-finalize.cpp
@sbc100 sbc100 force-pushed the fix_function_renames branch from 6f1d34f to c8ecfb3 Compare October 12, 2019 15:02
@sbc100
Copy link
Copy Markdown
Member Author

sbc100 commented Oct 21, 2019

PTAL

@kripken
Copy link
Copy Markdown
Member

kripken commented Oct 22, 2019

Please add a test if that is feasible.

@sbc100 sbc100 force-pushed the fix_function_renames branch from c8ecfb3 to 72c4841 Compare October 25, 2019 20:32
@kripken
Copy link
Copy Markdown
Member

kripken commented Oct 25, 2019

From the linked references it sounds like people are hitting this bug, is there a reason not to land this?

@sbc100
Copy link
Copy Markdown
Member Author

sbc100 commented Oct 25, 2019

Yes, I just added a test too. PTAL.

@sbc100 sbc100 merged commit 4f9151d into master Oct 25, 2019
@sbc100 sbc100 deleted the fix_function_renames branch October 25, 2019 21:19
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.

[emscripten-finalize] longjmp rewriter fails to update GOT

2 participants