Skip to content

Commit

Permalink
AArch64: Enable GCR Patching
Browse files Browse the repository at this point in the history
Enable GCR Patching on aarch64.

Signed-off-by: Akira Saitoh <saiaki@jp.ibm.com>
  • Loading branch information
Akira1Saitoh committed Nov 5, 2021
1 parent 79e5193 commit e698c35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/control/OMROptions.cpp
Expand Up @@ -2105,8 +2105,8 @@ OMR::Options::jitLatePostProcess(TR::OptionSet *optionSet, void * jitConfig)
#ifdef LINUX // On Linux compilation threads can be starved
self()->setOption(TR_EnableAppThreadYield);
#endif
#if defined(TR_TARGET_X86)
// Currently GCR patching only works correctly on x86
#if defined(TR_TARGET_X86) || defined(TR_TARGET_ARM64)
// Currently GCR patching only works correctly on x86 and aarch64
self()->setOption(TR_EnableGCRPatching);
#else

Expand Down

0 comments on commit e698c35

Please sign in to comment.