add getPointerToGlobal to the C bindings, patch by Lennart Augustsson!
PR3364 llvm-svn: 62697
This commit is contained in:
@@ -199,3 +199,7 @@ void LLVMAddGlobalMapping(LLVMExecutionEngineRef EE, LLVMValueRef Global,
|
||||
void* Addr) {
|
||||
unwrap(EE)->addGlobalMapping(unwrap<GlobalValue>(Global), Addr);
|
||||
}
|
||||
|
||||
void *LLVMGetPointerToGlobal(LLVMExecutionEngineRef EE, LLVMValueRef Global) {
|
||||
return unwrap(EE)->getPointerToGlobal(unwrap<GlobalValue>(Global));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user