Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Mon, Mar 11, 2013 at 12:13 AM, Steven Bosscher wrote: > On Sun, Mar 10, 2013 at 22:54, Matt Davis wrote: >> I have a particular instance of a >> function call within a function that I am analyzing (and >> transforming). I want the address of that function call, for which I >> do have a gimple_

Re: Obtaining a callsite address.

2013-03-10 Thread Steven Bosscher
On Sun, Mar 10, 2013 at 22:54, Matt Davis wrote: > I have a particular instance of a > function call within a function that I am analyzing (and > transforming). I want the address of that function call, for which I > do have a gimple_call instance of. I want to somehow create a symbol > identifyi

Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Sun, Mar 10, 2013 at 11:27 PM, Basile Starynkevitch wrote: > On Sun, Mar 10, 2013 at 10:54:39PM +1100, Matt Davis wrote: >> On Sun, Mar 10, 2013 at 9:35 PM, Basile Starynkevitch >> wrote: >> > On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: >> >> I have a GIMPLE_CALL gimple object.

Re: Obtaining a callsite address.

2013-03-10 Thread Steven Bosscher
On Sun, 10 Mar 2013 at 13:51, Matt Davis wrote: > I have a GIMPLE_CALL gimple object. I want to get the tree node > representing the callsite for this particular instance of a call, how > can I get this information? The GIMPLE_CALL gimple object *is* the call site. Ciao! Steven

Re: Obtaining a callsite address.

2013-03-10 Thread Basile Starynkevitch
On Sun, Mar 10, 2013 at 10:54:39PM +1100, Matt Davis wrote: > On Sun, Mar 10, 2013 at 9:35 PM, Basile Starynkevitch > wrote: > > On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: > >> I have a GIMPLE_CALL gimple object. I want to get the tree node > >> representing the callsite for this

Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Sun, Mar 10, 2013 at 9:35 PM, Basile Starynkevitch wrote: > On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: >> I have a GIMPLE_CALL gimple object. I want to get the tree node >> representing the callsite for this particular instance of a call, how >> can I get this information? > >

Re: Obtaining a callsite address.

2013-03-10 Thread Basile Starynkevitch
On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: > I have a GIMPLE_CALL gimple object. I want to get the tree node > representing the callsite for this particular instance of a call, how > can I get this information? I'm not sure to understand your question (what exactly do you mean by

Obtaining a callsite address.

2013-03-09 Thread Matt Davis
I have a GIMPLE_CALL gimple object. I want to get the tree node representing the callsite for this particular instance of a call, how can I get this information? -Matt