[llvm] Added clarifying comment to 'LLVMLinkInMCJIT' and 'LLVMLinkInInterpreter' (PR #92467)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 03:39:48 PDT 2024
https://github.com/Minding000 updated https://github.com/llvm/llvm-project/pull/92467
>From 697b826a523735833ce53f09ad56a1dad6bd3d8e Mon Sep 17 00:00:00 2001
From: Paul Ohlhauser <bendix.ohlhauser at gmail.com>
Date: Fri, 17 May 2024 00:12:13 +0200
Subject: [PATCH] Added comments.
---
llvm/include/llvm-c/ExecutionEngine.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/llvm/include/llvm-c/ExecutionEngine.h b/llvm/include/llvm-c/ExecutionEngine.h
index c5fc9bdb4d07f..8245362e4a675 100644
--- a/llvm/include/llvm-c/ExecutionEngine.h
+++ b/llvm/include/llvm-c/ExecutionEngine.h
@@ -33,7 +33,15 @@ LLVM_C_EXTERN_C_BEGIN
* @{
*/
+/**
+ * Empty function used to force the linker to link MCJIT.
+ * Calling this function on a pre-built library has no effect.
+ */
void LLVMLinkInMCJIT(void);
+/**
+ * Empty function used to force the linker to link the LLVM interpreter.
+ * Calling this function on a pre-built library has no effect.
+ */
void LLVMLinkInInterpreter(void);
typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef;
More information about the llvm-commits
mailing list