search for: 9069b2e4

Displaying 2 results from an estimated 2 matches for "9069b2e4".

2017 Mar 10
2
get function parameters (not arguments)
Hi Everyone, Does anyone know to get function parameters? For example, I want to get e and f in the call to function foo in the following code: foo(inr a , int b){ .... } main() { int e,f; e=10; f=22; *foo(e,f);* } I use the following code: for (auto& A : (cast<CallInst>(BI))->arg_operands ()) errs() << A.dump(); but I get a and b instead. Thank you
2017 Mar 10
2
get function parameters (not arguments)
...a CallInst in main, %a > and %b shouldn't even be available. Can you show us your actual IR and > output? > > Cheers. > > Tim. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170310/9069b2e4/attachment.html>