diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-21 18:11:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-21 18:11:10 +0000 |
commit | 1e42c5bdf50b54e33afa840b5dbb2d7c7d861a44 (patch) | |
tree | 370b2a356670585cc3969b2e2712dbabe0512faf /include/llvm-c/ExecutionEngine.h | |
parent | 455e9abf362a20bcfde9170fbec86b79ca0c40d5 (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/ExecutionEngine.h b/include/llvm-c/ExecutionEngine.h index d138d072c6..8390c682dc 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 } |