[llvm] [Orc] Update the comment so it doesn't mention TargetTriple argument that no longer exists (PR #210023)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 03:25:17 PDT 2026


https://github.com/mkovacevic99 created https://github.com/llvm/llvm-project/pull/210023

Completes the fix for the https://github.com/llvm/llvm-project/issues/80097

>From f31d2617554f86d7325d01aad95d3d82275a61f2 Mon Sep 17 00:00:00 2001
From: Milica Kovacevic <mkovacevic at baylibre.com>
Date: Thu, 16 Jul 2026 12:21:27 +0200
Subject: [PATCH] [Orc] Update the comment so it doesn't mention TargetTriple
 argument that no longer exists

---
 llvm/include/llvm-c/Orc.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/llvm/include/llvm-c/Orc.h b/llvm/include/llvm-c/Orc.h
index ce8ee0de2d407..7926a87c6750d 100644
--- a/llvm/include/llvm-c/Orc.h
+++ b/llvm/include/llvm-c/Orc.h
@@ -1059,10 +1059,9 @@ LLVM_C_ABI LLVMErrorRef LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(
  * generator is owned by the client. Ownership is typically transferred by
  * adding the instance to a JITDylib using LLVMOrcJITDylibAddGenerator,
  *
- * Call with the optional TargetTriple argument will succeed if the file at
- * the given path is a static library or a MachO universal binary containing a
- * static library that is compatible with the given triple. Otherwise it will
- * return an error.
+ * Call will succeed if the file at the given path is a static library or a
+ * MachO universal binary containing a static library that is compatible with
+ * the ExecutionSession's triple. Otherwise it will return an error.
  *
  * THIS API IS EXPERIMENTAL AND LIKELY TO CHANGE IN THE NEAR FUTURE!
  * 



More information about the llvm-commits mailing list