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
This commit is contained in:
Jan Hubicka 2016-01-19 12:55:10 +01:00 committed by Jan Hubicka
parent ae4bbcb233
commit 150be262b9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -2320,7 +2320,8 @@ lto_output (void)
if (cgraph_node *node = dyn_cast <cgraph_node *> (snode))
{
if (lto_symtab_encoder_encode_body_p (encoder, node)
&& !node->alias)
&& !node->alias
&& (!node->thunk.thunk_p || !node->instrumented_version))
{
if (flag_checking)
{