Skip to content

Commit b7431fc

Browse files
[Orc] Make JITLink default in LLJIT for ELF-based ARM targets
1 parent 1fc8d94 commit b7431fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,12 @@ Error LLJITBuilderState::prepareForConstruction() {
734734
case Triple::aarch64:
735735
UseJITLink = !TT.isOSBinFormatCOFF();
736736
break;
737+
case Triple::arm:
738+
case Triple::armeb:
739+
case Triple::thumb:
740+
case Triple::thumbeb:
741+
UseJITLink = TT.isOSBinFormatELF();
742+
break;
737743
case Triple::x86_64:
738744
UseJITLink = !TT.isOSBinFormatCOFF();
739745
break;

0 commit comments

Comments
 (0)