On Oct 12, 2011, at 3:50 PM, Jan Kratochvil wrote:

> Hi,
> 
> dropping the optional DWARF attribute DW_AT_sibling has only advantages and no
> disadvantages:
> 
> For files with .gdb_index GDB initial scan does not use DW_AT_sibling at all.
> For files without .gdb_index GDB initial scan has 1.79% time _improvement_.
> For .debug files it brings 3.49% size decrease (7.84% for rpm compressed 
> files).
> 
> I guess DW_AT_sibling had real performance gains on CPUs with 1x (=no) clock
> multipliers.  Nowadays mostly only the data size transferred over FSB matters.
> 
> I do not think there would be any DWARF consumers compatibility problems as
> DW_AT_sibling has always been optional but I admit I have tested only GDB.

I fear that this may degrade performance of other debuggers.  What about adding 
a command line option ?

Tristan.

Reply via email to