The linker map file and LTO

Dan Kegel dank@kegel.com
Fri Oct 16 14:12:29 GMT 2020


Is this related to the -g trouble with lto?

https://stackoverflow.com/questions/40743372/gcc-lto-appears-to-strip-debugging-symbols

Visda Vokhshoori via Gcc-help <gcc-help@gcc.gnu.org> schrieb am Do., 15.
Okt. 2020, 19:04:

> Hello,
>
> I have an application that is being compiled and linked with LTO option
> and –param lto-partition=1.  The .text section of the map file only
> provides size.  It doesn’t provide the content of the .text section, ie
> function names.
>
> Is this by design?  Is there a way to force the content to be printed to
> the .text section in the map file?
>
> Thanks,
> Visda
>


More information about the Gcc-help mailing list