This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/23710] gdb is slow and memory hungry consuming debug generated with LTO by GCC


https://sourceware.org/bugzilla/show_bug.cgi?id=23710

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org

--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
I can re-confirm this with current trunk of gdb and current trunk of gcc.
Things got even slower between gcc 8 and gcc 9. I have uploaded fresh cc1plus
binary to http://www.ucw.cz/~hubicka/cc1plus.gz

It takes a while to load binary and then it takes a while each time function
names are output - i.e. when adding breakpoint, looking on backtraces etc.

Things are a lot worse on Firefox libxul that I can upload too (or it
reproduces with RedHat Fedora package that is now LTO built)

LLDB seems to have no problems. It would be great to have this fixed since it
is quite a problem for adoption of lto.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]