No. This is not related to -g and lto. Thanks, Visda From: Dan Kegel <dank@xxxxxxxxx> Date: Friday, October 16, 2020 at 10:12 AM To: Visda Vokhshoori - C51841 <Visda.Vokhshoori@xxxxxxxxxxxxx> Cc: gcc-help <gcc-help@xxxxxxxxxxx> Subject: Re: The linker map file and LTO EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe 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@xxxxxxxxxxx<mailto:gcc-help@xxxxxxxxxxx>> 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