summaryrefslogtreecommitdiff
path: root/gcc/lto/lto-partition.h
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-09 15:37:12 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-09 15:37:12 +0000
commit85b7ebb26be94ca255df91395ac4909af2d42883 (patch)
tree5bec71a52459958db61953abca4983cf0be11acc /gcc/lto/lto-partition.h
parent6f4cfc6de35667c3508dcdb36597ec13000bdeb5 (diff)
downloadgcc-85b7ebb26be94ca255df91395ac4909af2d42883.tar.gz
Jan Hubicka <jh@suse.cz>
Richard Biener <rguenther@suse.de> PR lto/54095 * symtab.c (symtab_make_decl_local): Do not add private names. * lto.c (lto_register_var_decl_in_symtab): Don't do renaming. (lto_register_var_decl_in_symtab): Likewise. (lto_main): Promote statics. * lto-partition.c (privatize_symbol_name): New function. (promote_symbol): Use it. (may_need_named_section_p): New predicate. (rename_statics): New functions. (lto_promote_cross_file_statics): Simplify; do renaming. (lto_promote_statics_nonwpa): New function. * lto-partition.h (lto_promote_statics_nonwpa): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/lto/lto-partition.h')
-rw-r--r--gcc/lto/lto-partition.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto/lto-partition.h b/gcc/lto/lto-partition.h
index cf5650f5ba0..73c131f9c16 100644
--- a/gcc/lto/lto-partition.h
+++ b/gcc/lto/lto-partition.h
@@ -37,3 +37,4 @@ void lto_max_map (void);
void lto_balanced_map (void);
void lto_promote_cross_file_statics (void);
void free_ltrans_partitions (void);
+void lto_promote_statics_nonwpa (void);