From add029868d68b9d68899ebf2aaf243401187a6d9 Mon Sep 17 00:00:00 2001 From: Zentrik Date: Fri, 7 Mar 2025 00:40:29 +0700 Subject: [PATCH] [JITListener] Fix build after Module::getTargetTriple() change Adjust for #129868. --- llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp b/llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp index 59949435f9ca4..367ea136234a6 100644 --- a/llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp +++ b/llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp @@ -168,7 +168,7 @@ class JitEventListenerTest { if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) { Tuple.setObjectFormat(Triple::ELF); - TheModule->setTargetTriple(Tuple.getTriple()); + TheModule->setTargetTriple(Tuple); } // Compile the IR