Skip to content

Commit

Permalink
Enable JITLink by default for AArch64 on Linux
Browse files Browse the repository at this point in the history
There are still failures with RuntimeDyld on AArch64 which seem to
be solved with JITLink, so make the switch now.
  • Loading branch information
hahnjo authored and jenkins committed Sep 11, 2024
1 parent e129657 commit 1b1f929
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Interpreter/IncrementalJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ static bool UseJITLink(const Triple& TT) {
if (TT.getArch() == Triple::riscv64 ||
(TT.isOSBinFormatMachO() &&
(TT.getArch() == Triple::aarch64 || TT.getArch() == Triple::x86_64)) ||
(TT.isOSBinFormatELF() && TT.getArch() == Triple::ppc64le)) {
(TT.isOSBinFormatELF() &&
(TT.getArch() == Triple::aarch64 || TT.getArch() == Triple::ppc64le))) {
jitLink = true;
}
// Finally, honor the user's choice by setting an environment variable.
Expand Down

0 comments on commit 1b1f929

Please sign in to comment.