diff options
author | Richard Biener <rguenther@suse.de> | 2015-08-20 11:02:30 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-08-20 11:02:30 +0000 |
commit | 5fc6ae7dab2809a4607de11b2c4e48752176a562 (patch) | |
tree | f4f61a7ea0d5c84224e4d7e443ad848969206e08 /gcc/varpool.c | |
parent | f3f61ed2ab717b08a52dbb98c20d920dbf3b48b5 (diff) | |
download | gcc-5fc6ae7dab2809a4607de11b2c4e48752176a562.zip gcc-5fc6ae7dab2809a4607de11b2c4e48752176a562.tar.gz gcc-5fc6ae7dab2809a4607de11b2c4e48752176a562.tar.bz2 |
toplev.c (compile_file): Remove loop calling late_global_decl on all symbols.
2015-08-20 Richard Biener <rguenther@suse.de>
* toplev.c (compile_file): Remove loop calling late_global_decl
on all symbols.
* varpool.c (varpool_node::assemble_decl): Call late_global_decl
on decls we assembled.
From-SVN: r227031
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r-- | gcc/varpool.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c index 10fa93c..7d11e20 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -586,6 +586,12 @@ varpool_node::assemble_decl (void) gcc_assert (TREE_ASM_WRITTEN (decl)); gcc_assert (definition); assemble_aliases (); + /* After the parser has generated debugging information, augment + this information with any new location/etc information that may + have become available after the compilation proper. */ + timevar_start (TV_PHASE_DBGINFO); + debug_hooks->late_global_decl (decl); + timevar_stop (TV_PHASE_DBGINFO); return true; } |