-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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] Fix LLVMArgWasmVtypeAsScalar
when a method doesn't set its return value
#101299
[mono] Fix LLVMArgWasmVtypeAsScalar
when a method doesn't set its return value
#101299
Conversation
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms-wasm |
No pipelines are associated with this pull request. |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
I think we should handle it here, the same way as `LLVMArgVtypeAsScalar`. They differ only in the return type, where the wasm specific one is returning type of the element instead of `int`.
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-wasm |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
LLVMArgWasmVtypeAsScalar
when a method doesn't set its return value
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
/azp run runtime-wasm |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
…nally include TrimmerRootDescriptor on Apple mobile platforms
/azp run runtime-wasm,runtime-extra-platforms |
Azure Pipelines successfully started running 2 pipeline(s). |
According to the build analysis, the failures are known and shouldn't be related. The wasm-extra-platforms failures seem to be the same as in https://dev.azure.com/dnceng-public/public/_build?definitionId=151&_a=summary. I've created a tracking issue: #101482 |
…eturn value (dotnet#101299) * Update mini-llvm.c I think we should handle it here, the same way as `LLVMArgVtypeAsScalar`. They differ only in the return type, where the wasm specific one is returning type of the element instead of `int`. * Include TrimmerRootDescriptor only on Apple mobile platforms * Update src/mono/mono/mini/mini-llvm.c --------- Co-authored-by: Radek Doulik <radek.doulik@gmail.com> Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
…eturn value (dotnet#101299) * Update mini-llvm.c I think we should handle it here, the same way as `LLVMArgVtypeAsScalar`. They differ only in the return type, where the wasm specific one is returning type of the element instead of `int`. * Include TrimmerRootDescriptor only on Apple mobile platforms * Update src/mono/mono/mini/mini-llvm.c --------- Co-authored-by: Radek Doulik <radek.doulik@gmail.com> Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
Description
This PR should fix an assertion in cases when a method doesn't set its return value. Additionally, it should fix trimming-related issues introduced in #101104 (comment).
Fixes #101104