Skip to content

Commit

Permalink
[cling] 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 devajithvs committed Sep 10, 2024
1 parent bc96e54 commit a52d34d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion interpreter/cling/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 a52d34d

Please sign in to comment.