Skip to content

Commit

Permalink
disable return hijacking for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
VSadov committed Jul 6, 2022
1 parent d808039 commit 0154a90
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/coreclr/nativeaot/Runtime/unix/UnixNativeCodeManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ bool UnixNativeCodeManager::GetReturnAddressHijackInfo(MethodInfo * pMethodIn

#elif defined(TARGET_ARM64)

// TODO: RhpGcProbe NYI for ARM64
return false;

if (decoder.HasTailCalls())
{
// Do not hijack functions that have tail calls, since there are two problems:
Expand Down

0 comments on commit 0154a90

Please sign in to comment.