Option processing question

Prathamesh Kulkarni prathamesh.kulkarni@linaro.org
Sat Jan 11 04:49:00 GMT 2020


On Sat, 11 Jan 2020 at 09:17, Gary Oblock <goblock@marvell.com> wrote:
>
> I'm writing an LTO optimization that requires "-flto-partition=one" How can I make
> sure that this is the case? I've spent hours greping the code and the Internals Doc is
> worth less than nothing for something like this. If you have an answer or even
> I good idea of where to look please let me know. Note, for an normal "-fbalh" there's
> a flag_blah that I could look at but for this there seems to be zip, nil, diddly squat, etc.
Hi,
Does checking flag_lto_partition == LTO_PARTITION_ONE work for your case ?

Thanks,
Prathamesh
>
> Many thanks,
>
> Gary



More information about the Gcc mailing list