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

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


Is the program being built by gcc or clang?

Cheers,
Rafael

Rafael Avila de Espindola <rafael.espindola at gmail.com> writes:

> 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