Problem with cgraph_node and FOR_EACH_BB_FN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I want to print all the gimple stmt by using cgraph_node and here is my
code:

struct cgraph_node *node;
FOR_EACH_FUNCTION(node){
  struct function *target_fun = DECL_STRUCT_FUNCTION(node->decl);
  FOR_EACH_BB_FN(bb, target_fun){

and got an error message in  FOR_EACH_BB_FN(bb, target_cfun).
Is there anything I should do before this line?

Thank you.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux