Commit 150be262 by Jan Hubicka Committed by Jan Hubicka

lto-streamer-out.c (lto_output): Do not stream instrumentation thunks.

	* lto-streamer-out.c (lto_output): Do not stream instrumentation
	thunks.

From-SVN: r232551
parent ae4bbcb2
2016-01-19 Jan Hubicka <hubicka@ucw.cz> 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
* lto-streamer-out.c (lto_output): Do not stream instrumentation
thunks.
2016-01-19 Jan Hubicka <hubicka@ucw.cz>
* symtab.c (symtab_node::asm_name): Do not call printable name directly. * symtab.c (symtab_node::asm_name): Do not call printable name directly.
(symtab_node::name): Report name as unnamed if DECL_NAME is not set. (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
......
...@@ -2320,7 +2320,8 @@ lto_output (void) ...@@ -2320,7 +2320,8 @@ lto_output (void)
if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) if (cgraph_node *node = dyn_cast <cgraph_node *> (snode))
{ {
if (lto_symtab_encoder_encode_body_p (encoder, node) if (lto_symtab_encoder_encode_body_p (encoder, node)
&& !node->alias) && !node->alias
&& (!node->thunk.thunk_p || !node->instrumented_version))
{ {
if (flag_checking) if (flag_checking)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment