* lto-streamer-out.c (lto_output): Do not stream instrumentation
thunks.
From-SVN: r232551
+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.
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)
{