Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/external/apache2/llvm



"Joerg Sonnenberger" writes:
> Module Name:	src
> Committed By:	joerg
> Date:		Mon Feb 28 16:30:10 UTC 2022
>
> Modified Files:
> 	src/external/apache2/llvm: Makefile.inc
>
> Log Message:
> When MKDEBUG is use, build LLVM with -g1 to significantly reduce debug
> information. This still includes types and line tables, but skips e.g.
> local variables and inline tracking.

tempted to do this for GCC as well.  i'll see what happens to the
size of eg gallium.so.0.debug (currently larger than the full
base install itself.)  it's kind of insane:

-r--r--r--  1 root  wheel  1828732744 Nov 14 00:15 /usr/libdata/debug/usr/X11R7/lib/modules/dri/gallium_dri.so.0.debug

yesterday-when-i-was-mad /usr/src> readelf --debug-dump /usr/libdata/debug/usr/X11R7/lib/modules/dri/gallium_dri.so.0.debug >& /dev/null
320.988u 1.149s 5:22.15 99.9%   0+0k 1+0io 0pf+0w

... and that's a zen3 cpu.


.mrg.


Home | Main Index | Thread Index | Old Index