Can now modify called_function of CallOrInvokeInstruction
This commit is contained in:
parent
507ff73061
commit
b9d05bb6fe
4 changed files with 19 additions and 3 deletions
|
|
@ -488,6 +488,10 @@ unsigned LLVMCmpInstGetPredicate(LLVMValueRef cmpinst);
|
|||
*/
|
||||
LLVMValueRef LLVMInstGetCalledFunction(LLVMValueRef inst);
|
||||
|
||||
/* Wraps llvm::CallSite::setCalledFunction.
|
||||
*/
|
||||
void LLVMInstSetCalledFunction(LLVMValueRef inst, LLVMValueRef fn);
|
||||
|
||||
/* Wraps llvm::ParseAssemblyString(). Returns a module reference or NULL (with
|
||||
* `out' pointing to an error message). Dispose error message after use, via
|
||||
* LLVMDisposeMessage(). */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue