[LLVMdev] Identifying user define function in llvm

Abhinash Jain omnia at mailinator.com
Thu May 29 01:49:46 PDT 2014


Is there anyway by which I can identify whether the callee function is a user
define or not.
For example:
void foo()
{
   printf("hello world again");
}
int main()
{
   printf("hello world\n");
   foo();
}

As in this case foo() is a user define, whereas printf() is a library
function.



--
View this message in context: http://llvm.1065342.n5.nabble.com/Identifying-user-define-function-in-llvm-tp68955.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list