Displaying 1 result from an estimated 1 matches for "pointer_set_insert".
2008 Nov 25
2
[LLVMdev] RFA: tree-nested.c
...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_functions" call?
Should the code have been placed into some nesting info slot or
something?
FYI, here's the code in question:
$ cat testcase.i
typ...