This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]