Hi all,
In an IPA pass, for each CFG node, I have a tree decl member from
which I can access the return type, name of the function, argument
names and its types, but I can't seem to find a way to get the
function code. I would guess it would be a basic block list but I
don't know where I can get
Paulo J. Matos wrote on 03/02/07 10:12:
In an IPA pass, for each CFG node, I have a tree decl member from
which I can access the return type, name of the function, argument
names and its types, but I can't seem to find a way to get the
function code. I would guess it would be a basic block list
On 3/2/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Paulo J. Matos wrote on 03/02/07 10:12:
> In an IPA pass, for each CFG node, I have a tree decl member from
> which I can access the return type, name of the function, argument
> names and its types, but I can't seem to find a way to get the
>
On 3/2/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Paulo J. Matos wrote on 03/02/07 10:12:
> In an IPA pass, for each CFG node, I have a tree decl member from
> which I can access the return type, name of the function, argument
> names and its types, but I can't seem to find a way to get the
>
Paulo J. Matos wrote on 03/07/07 10:36:
> Is this normal? It seems there are no basic blocks set for the
> functions. Probably my pass is being run before the bbs are created?
Looks like it. Set a breakpoint in build_tree_cfg and your function.
If gdb stops in your function first, you found the
On 3/7/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Paulo J. Matos wrote on 03/07/07 10:36:
> Is this normal? It seems there are no basic blocks set for the
> functions. Probably my pass is being run before the bbs are created?
Looks like it. Set a breakpoint in build_tree_cfg and your functio
Paulo J. Matos wrote on 03/07/07 11:43:
> What am I missing?
You are debugging the wrong binary. I'd suggest you browse through
http://gcc.gnu.org/wiki/DebuggingGCC
You need to debug one of cc1/cc1plus/jc1
On 3/7/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
Paulo J. Matos wrote on 03/07/07 11:43:
> What am I missing?
You are debugging the wrong binary. I'd suggest you browse through
http://gcc.gnu.org/wiki/DebuggingGCC
You need to debug one of cc1/cc1plus/jc1
Thank you. It seems I've not fo
On 3/7/07, Paulo J. Matos <[EMAIL PROTECTED]> wrote:
On 3/7/07, Diego Novillo <[EMAIL PROTECTED]> wrote:
> Paulo J. Matos wrote on 03/07/07 11:43:
>
> > What am I missing?
>
> You are debugging the wrong binary. I'd suggest you browse through
> http://gcc.gnu.org/wiki/DebuggingGCC
>
> You need t