summaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 14:38:15 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-02 14:38:15 +0000
commit44e825028f5bb046ffa1d27da959397e2699375e (patch)
tree1cccd5c74a32da024ef7d68be27022345b749039 /gcc/cgraph.h
parent691cfda44a7604be69ece556a4b548cc16fdedae (diff)
downloadgcc-44e825028f5bb046ffa1d27da959397e2699375e.tar.gz
* cgraph.c (cgraph_function_body_availability): Do not check cgrpah flags.
* cgraph.h (symtab_for_node_and_aliases, symtab_nonoverwritable_alias, symtab_node_availability): Declare. * ipa.c (can_replace_by_local_alias): New. (function_and_variable_visibility): Use it. * symtab.c (symtab_for_node_and_aliases, symtab_nonoverwritable_alias_1, symtab_nonoverwritable_alias): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 9b76b67d2f4..4e4dddc0c3e 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -597,6 +597,12 @@ symtab_node symtab_alias_ultimate_target (symtab_node,
enum availability *avail = NULL);
bool symtab_resolve_alias (symtab_node node, symtab_node target);
void fixup_same_cpp_alias_visibility (symtab_node node, symtab_node target);
+bool symtab_for_node_and_aliases (symtab_node,
+ bool (*) (symtab_node, void *),
+ void *,
+ bool);
+symtab_node symtab_nonoverwritable_alias (symtab_node);
+enum availability symtab_node_availability (symtab_node);
/* In cgraph.c */
void dump_cgraph (FILE *);