Hi, I am saving some tree declarations during LGEN that I will be later analyzing at WPA time. I am able to read the decl from my summaries and print it at WPA time. It corresponds to a global variable. However, whenever I use symtab_node::get (decl) during WPA time I keep getting NULL.
Does anyone know why that might be the case? Is it possible that other optimizations are rewriting global variables during LGEN (or prior WPA)? The variable I am looking at is a static const char typeinfo name for a class in the program I am analyzing. I don't think this is an issue since other type info names have an associated symtab_node. Thanks!