Displaying 1 result from an estimated 1 matches for "walk_subtrees".
2008 Nov 25
2
[LLVMdev] RFA: tree-nested.c
...e_callgraph calls lookup_context_for_decl, where it crashes:
lookup_context_for_decl (tree fndecl)
{
...
slot = (struct nesting_info **) htab_find_slot (ni_map, &dummy, NO_INSERT);
gcc_assert (slot != NULL); /* CRASHES HERE */
return *slot;
}
construct_reverse_callgraph (tree *tp, int *walk_subtrees, void *data)
{
...
switch (TREE_CODE (t))
{
case ADDR_EXPR:
...
/* Add an edge from the callee to the caller. */
pointer_set_insert (lookup_context_for_decl (decl)->callers, info);
break;
default:
...
}
What are the assumptions going into this "walk_all_fu...