diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-01-19 12:55:10 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-01-19 11:55:10 +0000 |
commit | 150be262b98a8601cbc470c789c5b7b0907ddfb4 (patch) | |
tree | 95df07348883985d4da142d259e3698086f8adba /gcc/lto-streamer-out.c | |
parent | ae4bbcb233b0f9145d8ed56aac835b7eb40d3495 (diff) | |
download | gcc-150be262b98a8601cbc470c789c5b7b0907ddfb4.zip gcc-150be262b98a8601cbc470c789c5b7b0907ddfb4.tar.gz gcc-150be262b98a8601cbc470c789c5b7b0907ddfb4.tar.bz2 |
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
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r-- | gcc/lto-streamer-out.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |