Uh oh!
There was an error while loading. Please reload this page.
[NativeAOT] Implement thunk page generation and mapping for iOS-like platforms - #82317
Conversation
ghost
commented
Feb 17, 2023
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsFixes #82090 Marked as draft for the moment since there are still missing bits in the build and test infrastructure. I manually tested it using the PInvoke NativeAOT test compiled for maccatalyst-arm64. The x64 code is completely untested but it compiles.
|
Uh oh!
There was an error while loading. Please reload this page.
jkotas
commented
Feb 18, 2023
Does this test create enough delegates to hit the |
Uh oh!
There was an error while loading. Please reload this page.
filipnavara
commented
Feb 18, 2023
No, but I manually modified the thunk allocation to always take the path and it still succeeded. |
For reference, here are all the build hacks and steps I did to make the test run. Start with this branch - https://github.com/filipnavara/runtime/tree/build-hacks. It's PR #82086 and bunch of hacks/fixes stacked on top of it. Build with the following steps: It should fail with Then merge this feature branch on top, rebuild the runtime, rebuild the test and rerun it: The test will succeed. In order to test the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Fixes#82090
Marked as draft for the moment since there are still missing bits in the build and test infrastructure. I manually tested it using the PInvoke NativeAOT test compiled for maccatalyst-arm64 and maccatalyst-x64. The PAL interfaces could likely be cleaned up quite a bit since the implementation has different requirements from the old Windows-only code.