https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Well, we certainly don't want to disable partitioning for all functions if in
LTO, that would be extremely costly.
Most of real-world programs don't do all the work in main, so disabling that
may be acceptable.

But as I said, when doing break main or l main etc. it just seems to work fine,
it is just the initial current file that is broken if main has DW_AT_ranges and
a partial DIE.

Note GCC 8 turns -freorder-blocks-and-partition by default, something that has
been done in the past only for PGO builds (-fprofile-use), so there will be
significantly more functions with DW_AT_ranges now.

Reply via email to