[llvm-dev] [LLD] Should --compress_debug_sections be enabled (=zlib) by default ?
Jan Kratochvil via llvm-dev
llvm-dev at lists.llvm.org
Wed May 8 00:32:19 PDT 2019
On Fri, 03 May 2019 18:52:48 +0200, Romain GEISSLER via llvm-dev wrote:
> Do you think it's time to enable compressed debug section by default ?
It depends whether you use index (Apple index or .gdb_index or .debug_names).
If not then compressed debug is probably always a win.
.gdb_index is not going to be supported by LLDB (it is supported by GDB),
.debug_names (at LLD level) is going to be supported by LLDB in some time.
If you do use index then loading such file will be slower as this type of
compression cannot decompress only small section of the file addressed by the
index. Then some filesystem level (or block device level) compressed can be
a better compromise between disk size and debug info access performance.
But it sure needs more numbers.
More information about the llvm-dev