lto.c
96.4 KB
-
Jan Hubicka <jh@suse.cz> · 64cfa6c0
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. Co-Authored-By: Richard Biener <rguenther@suse.de> From-SVN: r198741
Jan Hubicka committed