[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread antony at liquidinstruments dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 --- Comment #5 from Antony Searle --- > You can get the same size back with `-gdwarf-4` option even. Substituting -gdwarf-4 for -g only changes the file size by 1 kb of 1.3 Gb Antony-Air:bug $ ls -l bug.o* -rw-r--r-- 1

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > "f int]::]::]:: >" > > > vs > > "f(int):: >(f(int)::):: > >(f(int):: > >(f(int)::)::):: >" > For the DW_AT_name > > Clang just uses "f" or "f<(lambda at bug.

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |WONTFIX --- Comment #3 from Andrew Pins

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 Andrew Pinski changed: What|Removed |Added Component|c++ |debug Resolution|---