[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:38:39 PDT 2026
https://github.com/mkovacevic99 updated https://github.com/llvm/llvm-project/pull/210023
>From ea22dde911d54792560516bac586c03478864431 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 | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/llvm/include/llvm-c/Orc.h b/llvm/include/llvm-c/Orc.h
index ce8ee0de2d407..d4cfd92e08bcc 100644
--- a/llvm/include/llvm-c/Orc.h
+++ b/llvm/include/llvm-c/Orc.h
@@ -1059,13 +1059,12 @@ 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!
- *
+ *
*/
LLVM_C_ABI LLVMErrorRef LLVMOrcCreateStaticLibrarySearchGeneratorForPath(
LLVMOrcDefinitionGeneratorRef *Result, LLVMOrcObjectLayerRef ObjLayer,
More information about the llvm-commits
mailing list