-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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] Enable NativeToManaged wrappers to get compiled with LLVM #96910
[mono] Enable NativeToManaged wrappers to get compiled with LLVM #96910
Conversation
Is this blocked by #95791? |
I don't think so. The error happens for iOS LibraryMode functional test (reproducible on simulator as well) and the log is
triggered by this command Based on my investigation when the native-to-manage wrapper gets compiled with LLVM, the name is fully specified as Steps to reproduce locally:
|
The names like _wrapper_native_to_managed are just generated names meant to help native debugging, there is some functionality in the aot compiler to specify the exact names used for exported symbols. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
The failures on extra-platform CI might be related to this PR... |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Enabling native-to-managed wrappers to get compiled with LLVM.
Confirmed locally that the
UnmanagedCallersOnlyBasic
tests are passing in fullAOT-llvm mode.The other tests under
UnmanagedCallersOnly
directory are marked asNativeAotIncompatible
and are crashing before/after this PR with:Note: we don't currently have any CI running the affected tests in fullAOT-llvm mode.
Contributes towards implementing UnmanagedCallersOnly support for Swift Interop with LLVM #94081.