18.12.2017, 22:56, "René J. V. Bertin" <[email protected]>:
> Thiago Macieira wrote:
>
>>  It doesn't, because the debug information is not loaded in the first place.
>>  When using readelf, note how the "A" flag is missing for those sections.
>
> So it has to skip certain, possibly considerable parts of the file while 
> loading
> it, rather than simply doing some efficient operation to copy the whole file 
> into
> memory. That should affect load times somewhat, no?

ELF is loaded into memory by using file mappings, separate mapping for different
sections.

>
>>  One more reason to use GCC. It only builds once, even under LTO, unless you
>>  specifically ask for the fat LTO objects.
>
> Yet even with GCC the build times and memory requirements are larger with LTO
> than without. How can it not do certain things twice?
>
> _______________________________________________
> Interest mailing list
> [email protected]
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to