Displaying 2 results from an estimated 2 matches for "3dd4861b".
2017 Mar 10
2
get function parameters (not arguments)
Sorry i'm using the following code:
F = (cast<CallInst>(BI))->getCalledFunction();
for (auto& A : F->getArgumentList()) {
errs() << "------- " << A.getName() << " " << "11" <<
"\n";
}
But how can I get the parameters (as e and f in the example)?
Thank you and best,
Mo
On
2017 Mar 10
2
get function parameters (not arguments)
...ted (using
> cast<CallInst>(BI)->arg_operands()) should iterate through the
> arguments to the call.
>
> Cheers.
>
> Tim.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170310/3dd4861b/attachment.html>