You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if test "x$enable_monodroid" = "xno" -a "x$enable_monotouch" = "xno"; then
mono_feature_disable_dllmap='yes' # FIXME: the mobile products use this
fi
this is needed for macOS (Xamarin.Mac) as well, because we use it for the exact same purpose (redirect calls to objc_msgSend to our own implementations).
Example disassembly that shows that it's disabled (calls to mono_dll_insert asserts) on macOS:
Given we have no alternative for symbol remapping, I'm fine with this. PR in a bit.
We are, however, still going to have to figure out how to extend our loader callbacks to work properly with AOT on mobile, and ideally whatever we add would also cover this functionality.
The problem is that I've gotten a large amount of pushback at the idea of adding more generic symbol remapping functionality.
Unless Xamarin.Mac wants to break compatibility with a long-established pattern they need some method to accomplish symbol remapping. If we're willing to commit to solving this problem more generically for net6 I'd be thrilled, but otherwise I don't see a good alternative to just giving them dllmap.
Activity
Dotnet-GitSync-Bot commentedon Oct 9, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
CoffeeFlux commentedon Oct 9, 2020
Given we have no alternative for symbol remapping, I'm fine with this. PR in a bit.
We are, however, still going to have to figure out how to extend our loader callbacks to work properly with AOT on mobile, and ideally whatever we add would also cover this functionality.
marek-safar commentedon Oct 26, 2020
I don't think we should do it and instead think about .net core compatible alternatives
CoffeeFlux commentedon Oct 26, 2020
The problem is that I've gotten a large amount of pushback at the idea of adding more generic symbol remapping functionality.
Unless Xamarin.Mac wants to break compatibility with a long-established pattern they need some method to accomplish symbol remapping. If we're willing to commit to solving this problem more generically for net6 I'd be thrilled, but otherwise I don't see a good alternative to just giving them dllmap.
[runtime] Redirect to our objc_msgSend wrapper functions when needed …
[runtime] Redirect to our objc_msgSend wrapper functions when needed …
rolfbjarne commentedon Mar 24, 2021
Using
PINVOKE_OVERRIDEseems to work, so I'm closing this.