[llvm] d7f409d - [JITListener] Fix build after Module::getTargetTriple() change (#130152)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 7 00:37:23 PST 2025
Author: Zentrik
Date: 2025-03-07T09:37:19+01:00
New Revision: d7f409d39ae0525ea3474f7a8e01d7510a36e44f
URL: https://github.com/llvm/llvm-project/commit/d7f409d39ae0525ea3474f7a8e01d7510a36e44f
DIFF: https://github.com/llvm/llvm-project/commit/d7f409d39ae0525ea3474f7a8e01d7510a36e44f.diff
LOG: [JITListener] Fix build after Module::getTargetTriple() change (#130152)
Adjust for #129868.
Added:
Modified:
llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp
Removed:
################################################################################
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
More information about the llvm-commits
mailing list