-
-
Notifications
You must be signed in to change notification settings - Fork 669
fix: fix shadowstack pass discard debuginfo #2496
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: fix shadowstack pass discard debuginfo #2496
Conversation
Would it perhaps be preferable to add a |
Yeah, also prefer to update or simply check |
You mean add this API in binaryen? I also agree it is more eleganta |
In shadowstack pass, if some function need to add temp local, It need to be removed and re-added. It will discard all debug info because debug info bind with functionref.
This PR aims at re-assign the debug info after shadowstack pass