This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r212572 - /branches/google/gcc-4_9/gcc/cgraphbu...
- From: tejohnson at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 15 Jul 2014 17:54:22 -0000
- Subject: r212572 - /branches/google/gcc-4_9/gcc/cgraphbu...
Author: tejohnson
Date: Tue Jul 15 17:54:21 2014
New Revision: 212572
URL: https://gcc.gnu.org/viewcvs?rev=212572&root=gcc&view=rev
Log:
This patch will rewrite references to function decls in all statements
after LIPO linking so that the subsequent cgraph rebuild will set up
references correctly.
2014-07-15 Teresa Johnson <tejohnson@google.com>
Google ref b/16190119
* cgraphbuild.c (mark_address): Assert that node is resolved.
(fixup_ref): New function.
(fixup_address): Ditto.
(fixup_load): Ditto.
(lipo_fixup_load_addr_ops): Ditto.
(lipo_link_and_fixup): Invoke lipo_fixup_load_addr_ops.
Modified:
branches/google/gcc-4_9/gcc/cgraphbuild.c