-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono][wasm] Fix function signature mismatch in m2n invoke #101106
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
affbf56
Fix signature mismatch
mkhamoyan f49a1c4
Add test case
mkhamoyan 32358c0
update test case
mkhamoyan d48ecb1
Move test case
mkhamoyan ca68d37
Apply Ilona's suggestion and run only non aot mode
mkhamoyan 9159c02
Add new line in file
mkhamoyan ca36d4c
Update UnmanagedCallback program
mkhamoyan 7634d53
Add multibyte unicode char in function name
mkhamoyan 022420a
Apply maraf's feedback
mkhamoyan 5a3a58d
For AOT mode keep existing logic for FixupSymbolName
mkhamoyan 6e5beba
Merge branch 'main' into fix_function_signature
mkhamoyan 1bfd0f0
Fix symbol name also in mono_aot_module
mkhamoyan acd32e4
Fix the space
mkhamoyan 186a15f
Remove not used pointer
mkhamoyan 899acbe
Duplicate fixupSymbolName as in runtime.c
mkhamoyan 0b65450
Fix compiler errors and move function in common place
mkhamoyan 9ba5a4a
Move mono_fixup_symbol_name to native-library
mkhamoyan 46df3ec
Fix spaces
mkhamoyan b3d533f
Minor fix
mkhamoyan a85f7c6
Fix failures on ios/tvos
mkhamoyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove not used pointer
- Loading branch information
commit 186a15f7ea1ccb1bb6008ce5cb7c35e64789181d
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this needs to be wasm-specific, shouldn't we do the same logic everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It broke
iOS/tvOS
tests that's why I applied the logic only for wasmThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm that sounds concerning, I don't see why it should break iOS/tvOS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what error looked like (from https://dev.azure.com/dnceng-public/public/_build/results?buildId=652242&view=logs&j=88e1dda0-08c6-5d85-6ee4-8e42aeff31b6&t=b4bb5080-7a46-5114-c100-ade75b904ada)
My guess is that for iOS/tvOS in other places it still expects the previous logic. And I'm not sure that for other platforms there is a need to apply the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then we need to find these places, the logic should be consistent