Displaying 2 results from an estimated 2 matches for "ismalloccall".
2013 Jan 22
2
[LLVMdev] Utility function to identify user defined function
Hi,
I would like to ask if LLVM provides a utility function like 'isMallocCall' to check if the 'call' instruction is calling some 'foo' user defined function?
If there is no such utility function then I am thinking to do this in the following way:
bool testFoo(CallInst *CI) {
Function *Callee = CI->getCalledFunction();
if (Callee->getName() == &qu...
2013 Jan 22
0
[LLVMdev] Utility function to identify user defined function
"Hassan, Ahmad" <ahmad.hassan at sap.com> writes:
> I would like to ask if LLVM provides a utility function like
> 'isMallocCall' to check if the 'call' instruction is calling some
> 'foo' user defined function?
>
> If there is no such utility function then I am thinking to do this in
> the following way:
>
> bool testFoo(CallInst *CI) {
> Function *Callee = CI->getCalledFunction()...