Displaying 1 result from an estimated 1 matches for "nesting_info".
2008 Nov 25
2
[LLVMdev] RFA: tree-nested.c
...cl, bool skip_outermost_fndecl)
{
...
#ifdef ENABLE_LLVM
walk_all_functions (construct_reverse_callgraph, root);
propagate_chains (root);
#endif
...
}
The construct_reverse_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 cal...