From 4c23eb43f2898a2e1814160e0c71e26c72d17316 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Thu, 10 Oct 2024 07:13:05 +0100 Subject: [PATCH] Fix typo in https://github.com/JuliaLang/julia/pull/54841 --- src/jitlayers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jitlayers.cpp b/src/jitlayers.cpp index d1757cadee05c..4ff7400df13dd 100644 --- a/src/jitlayers.cpp +++ b/src/jitlayers.cpp @@ -1968,7 +1968,7 @@ void JuliaOJIT::enableJITDebuggingSupport() void JuliaOJIT::enableIntelJITEventListener() { #if JL_LLVM_VERSION >= 190000 - if (TT.isOSBinFormatELF()) { + if (TM->getTargetTriple().isOSBinFormatELF()) { orc::SymbolMap VTuneFunctions; auto RegisterImplAddr = addAbsoluteToMap(VTuneFunctions,llvm_orc_registerVTuneImpl); auto UnregisterImplAddr = addAbsoluteToMap(VTuneFunctions,llvm_orc_unregisterVTuneImpl);