aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm-c/ExecutionEngine.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-21 18:11:10 +0000
committerChris Lattner <sabre@nondot.org>2009-01-21 18:11:10 +0000
commit1e42c5bdf50b54e33afa840b5dbb2d7c7d861a44 (patch)
tree370b2a356670585cc3969b2e2712dbabe0512faf /include/llvm-c/ExecutionEngine.h
parent455e9abf362a20bcfde9170fbec86b79ca0c40d5 (diff)
downloadexternal_llvm-1e42c5bdf50b54e33afa840b5dbb2d7c7d861a44.zip
external_llvm-1e42c5bdf50b54e33afa840b5dbb2d7c7d861a44.tar.gz
external_llvm-1e42c5bdf50b54e33afa840b5dbb2d7c7d861a44.tar.bz2
add getPointerToGlobal to the C bindings, patch by Lennart Augustsson!
PR3364 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c/ExecutionEngine.h')
-rw-r--r--include/llvm-c/ExecutionEngine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h
index d138d07..8390c68 100644
--- a/include/llvm-c/ExecutionEngine.h
+++ b/include/llvm-c/ExecutionEngine.h
@@ -95,6 +95,8 @@ LLVMTargetDataRef LLVMGetExecutionEngineTargetData(LLVMExecutionEngineRef EE);
void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
void* Addr);
+void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global);
+
#ifdef __cplusplus
}