aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorIlya Verbin <ilya.verbin@intel.com>2014-12-09 22:44:16 +0000
committerIlya Verbin <iverbin@gcc.gnu.org>2014-12-09 22:44:16 +0000
commit443743fd95a5f87c21354bb44e31daaae6ef05bf (patch)
treec794771581c3a03e67a31e87a7be71285b56b08d /gcc/plugin.c
parent3f6ad8df42fcf4b9afa29ca9170e075e7482be3d (diff)
downloadgcc-443743fd95a5f87c21354bb44e31daaae6ef05bf.zip
gcc-443743fd95a5f87c21354bb44e31daaae6ef05bf.tar.gz
gcc-443743fd95a5f87c21354bb44e31daaae6ef05bf.tar.bz2
lto-wrapper.c (compile_offload_image): Start processing in_argv from 0 instead of 1.
gcc/ * lto-wrapper.c (compile_offload_image): Start processing in_argv from 0 instead of 1. (run_gcc): Put offload objects into offload_argv, put LTO objects and possible preceding arguments into lto_argv. Pass offload_argv to compile_images_for_offload_targets instead of argv. Use lto_argv for LTO recompilation instead of argv. lto-plugin/ * lto-plugin.c (offload_files, num_offload_files): New static variables. (free_1): Use arguments instead of global variables. (free_2): Free offload_files. (all_symbols_read_handler): Add names from offload_files to lto-wrapper arguments. (claim_file_handler): Do not add file to claimed_files if it contains offload sections without LTO sections. Add it to offload_files instead. From-SVN: r218543
Diffstat (limited to 'gcc/plugin.c')
0 files changed, 0 insertions, 0 deletions