[llvm-dev] [LLD] Slow callstacks in gdb

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Mon Nov 27 08:28:50 PST 2017


Martin Richtarsky via llvm-dev <llvm-dev at lists.llvm.org> writes:

> Hi,
>
> for programs linked with lld it's substantially slower to get callstacks
> in gdb, in comparison to gold-linked programs. Two measurements:
>
> lld     gold
> 15 sec  3 sec
> 6 sec   2 sec

Are both using --gdb-index? Can you try lld trunk if so?

Is any of the programs you tested open source?

Cheers,
Rafael


More information about the llvm-dev mailing list