Implement property CallOrInvokeInstruction.called_function
Also add a testcase.
This commit is contained in:
parent
5d14461c84
commit
5bd4991f0b
5 changed files with 20 additions and 1 deletions
|
|
@ -412,6 +412,10 @@ unsigned LLVMInstGetOpcode(LLVMValueRef inst);
|
|||
/* Wraps llvm::CmpInst::getPredicate(). */
|
||||
unsigned LLVMCmpInstGetPredicate(LLVMValueRef cmpinst);
|
||||
|
||||
/* Wraps llvm::CallSite::getCalledFunction.
|
||||
*/
|
||||
LLVMValueRef LLVMInstGetCalledFunction(LLVMValueRef inst);
|
||||
|
||||
/* 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