Re: [PATCH] PR lto/61048 Write/read option -fsanitize to/from object files

2014-10-16 Thread Richard Biener
On Wed, Oct 15, 2014 at 4:47 PM, Ilya Palachev i.palac...@samsung.com wrote: Hi all, The attached patch fixes PR lto/61048. The basic idea is to write option -fsanitize to existing ELF section .gnu.lto_.opts in object files and then read it in lto-wrapper. On 15.10.2014 12:46, Richard

[PATCH] PR lto/61048 Write/read option -fsanitize to/from object files

2014-10-15 Thread Ilya Palachev
Hi all, The attached patch fixes PR lto/61048. The basic idea is to write option -fsanitize to existing ELF section .gnu.lto_.opts in object files and then read it in lto-wrapper. On 15.10.2014 12:46, Richard Biener wrote: You need to handle them in lto-opts.c and output them to the