On Mon, Oct 11, 2021 at 2:51 AM David Malcolm wrote:
>
> On Sun, 2021-10-10 at 23:04 +0530, Shubham Narlawar via Gcc wrote:
> > Hello,
> >
> > Is there a direct way to print the name of the function call in gimple
> > call
> > statement?
> >
> > For example -
> >
> > void bar() {
> > a = foo();
On Sun, 2021-10-10 at 23:04 +0530, Shubham Narlawar via Gcc wrote:
> Hello,
>
> Is there a direct way to print the name of the function call in gimple
> call
> statement?
>
> For example -
>
> void bar() {
> a = foo(); //gimple* stmt
> }
>
> I want to print "foo" from the above gimple*.
Hello,
Is there a direct way to print the name of the function call in gimple call
statement?
For example -
void bar() {
a = foo();//gimple* stmt
}
I want to print "foo" from the above gimple*.
I traced debug_gimple_stmt(gimple*) but it seems complex to just print
"foo".
Thanks and R