[NativeAOT] Implement thunk page generation and mapping for iOS-like platforms (...
authorFilip Navara <navara@emclient.com>
Sat, 25 Feb 2023 15:43:07 +0000 (16:43 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Feb 2023 15:43:07 +0000 (07:43 -0800)
commit75a32b8561cb2c2e9a5e1aebaf28c36ce20d2315
tree9166007a6ccc033e10936b8cb0095d725dc478ec
parentcabaab5e90e19256ae404970091350bb6f0f7139
[NativeAOT] Implement thunk page generation and mapping for iOS-like platforms (#82317)

* NativeAOT: Implement thunk page generation and mapping for iOS-like platforms

* Use minipal_getexepath instead of libproc

* Reimplement PalAllocateThunksFromTemplate to work inside shared libraries

* Specify correct rpath in tests for all Apple platforms
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Unix.targets
src/coreclr/nativeaot/Runtime/Full/CMakeLists.txt
src/coreclr/nativeaot/Runtime/amd64/ThunkPoolThunks.S [new file with mode: 0644]
src/coreclr/nativeaot/Runtime/arm64/ThunkPoolThunks.S [new file with mode: 0644]
src/coreclr/nativeaot/Runtime/unix/PalRedhawkUnix.cpp
src/tests/Directory.Build.targets