diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/lto-streamer-out.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0272cd3..b2423f2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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_node::name): Report name as unnamed if DECL_NAME is not set. diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c index 0cefc15..6bb76cc 100644 --- a/gcc/lto-streamer-out.c +++ b/gcc/lto-streamer-out.c @@ -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) { |